6

How can I connect to Titan database from Python ?

What I understand is that Titan (Graph database) provides an interface (Blueprint) to Cassandra (Column Store) and bulb is a python interface to graph DB.

Now how can I start programming in python to connect with titan DB? Is there any good documentation/tutorial available ?

Sreejithc321
  • 1,890
  • 3
  • 17
  • 32
  • [Bulbflow- A python interface to graph databases](http://bulbflow.com/overview/); [Bulb Docs](http://bulbflow.com/docs/); [A snarky answer](http://bit.ly/1zvehXv). Note this question has been solved already on [stackoverflow.com](http://stackoverflow.com/questions/24990607/bulbs-python-connection-to-a-remote-titandb-rexster), which is where it belongs because it specifically relates to programming. – rawkintrevo Dec 10 '14 at 14:13
  • The first Google result on the [snarky answer](http://bit.ly/1zvehXv) now leads back to this page :) – jbnunn Jun 03 '17 at 16:30

2 Answers2

2

You can use Rexster to expose a REST api and then you can use this api via Requests module (there are many other modules to do this task - though Requests is what I prefer)

Shagun Sodhani
  • 722
  • 4
  • 26
1

I have had success using Mogwai Python Library which is more actively maintained than Bulbs at this point.

Though I agree that this belongs on stack overflow.

closedloop
  • 131
  • 4