Questions tagged [bulbs]

Open-source Python graph-database library that supports any TinkerPop/Blueprints graph DB via the Rexster graph server (almost all graph DBs). Has a native client for Neo4j Server and Titan. Supports the Gremlin and Cypher graph query languages. Easily extendable to support any server backend or query language.

Bulbs is an open-source Python library for graph databases. It supports any graph database that implements Blueprints (i.e. almost all graph databases plus some NoSQL datastores that aren't graph databases -- see the Blueprints page for a list).

Bulbs supports the Gremlin query language and Neo4j's Cypher query language, and it has built-in support for three graph-database servers: Rexster, Neo4j Server, and Titan.

You can easily extend Bulbs to support any backend server or any query language by simply implementing the client adapter.

James Thornton is the lead developer. You may know him as espeed on SO, HN, Twitter, etc.

James is a TinkerPop member and is managing and co-authoring the the writing of the TinkerPop Book, which will be a comprehensive guide showing you how to build powerful graph-based applications using the TinkerPop stack and its related open-source graph technologies.

See the TinkerPop Book website's Resources section for an updated collection of videos, books, blogs, and papers on graph programming.

Here are the key pages you need to get started with Bulbs:

See these Stack Overflow answers for additional detailed examples/explanations on how Bulbs is designed and how to create custom models:

NB: Some people refer to the library as Bulbflow, but this is imprecise. Bulbflow is the site, while Bulbs is the library.

81 questions
20
votes
3 answers

ORM with Graph-Databases like Neo4j in Python

i wonder wether there is a solution (or a need for) an ORM with Graph-Database (f.e. Neo4j). I'm tracking relationships (A is related to B which is related to A via C etc., thus constructing a large graph) of entities (including additional…
dorvak
  • 9,219
  • 4
  • 34
  • 43
17
votes
4 answers

Use neo4j with R

Is there a R library that supports neo4j? I would like to construct a R graph (e.g. igraph) from neo4j or - vice versa - store a R graph in neo4j. More precisely, I am looking for something similar to bulbflow for Python. Update There is a new…
Martin Preusse
  • 9,151
  • 12
  • 48
  • 80
10
votes
3 answers

Choosing an appropriate way to use Neo4j in Python

I am currently using embedded python binding for neo4j. I do not have any issues currently since my graph is very small (sparse and upto 100 nodes). The algorithm I am developing involves quite a lot of traversals on the graph, more specifically DFS…
npobedina
  • 331
  • 3
  • 14
7
votes
2 answers

No such ServerPlugin: GremlinPlugin

I want put some data to Neo4j database using python script. I think bulbflow can be easy way how to do that. I have this little script from their homepage and docs. #!/usr/bin/python from bulbs.neo4jserver import Graph g = Graph() james =…
FrostyX
  • 358
  • 3
  • 10
6
votes
2 answers

Why does Rexster Server (and Titan) stop responding?

Setup I'm implementing a recommender system running on a Ubuntu 12.4 Server using Titan Rexster (titan-server-0.4.4.zip) with the Elasticsearch backend. In order to connect to the Rexster Server I use the Bulbflow library for python. Beta seemed to…
Gianluca
  • 83
  • 6
6
votes
1 answer

How do I connect to orientdb graph through rexster with bulbs?

So, I'm using python3.2 and bulbs on mac-osx with rexster and orientdb. Details: orientdb - standard download from their page ~/workspace/orientdb-community-1.7-rc1 Running the server, ./bin/server.sh database - orientdb…
Adam Miller
  • 1,756
  • 1
  • 25
  • 44
6
votes
1 answer

Bulbflow: difference between neo4jserver Graph and neo4jserver Neo4jclient

I am now trying to learn how to connect to Neo4j server and run Cypher queries on it using Bulbflow from Python. And the thing I do not understand is the difference between two possibilities to connect to the neo4j server: 1) Graph from…
npobedina
  • 331
  • 3
  • 14
5
votes
1 answer

Can you use the BulbFlow (bulbs) Python ORM with OrientDB's Graph Schema Constraints?

I am building an application which uses BulbFlow. The BulbFlow ORM is similar to the Django ORM. As an actual database backend, I am using OrientDB 1.3.0, with Rexster 2.2.0. I am wondering if anyone has any insight into using these two products…
G. Shearer
  • 2,175
  • 17
  • 19
5
votes
1 answer

Is there a equivalent to commit in bulbs framework for neo4j

I am building a data-intensive Python application based on neo4j and for performance reasons I need to create/recover several nodes and relations during each transaction. Is there an equivalent of SQLAlchemy session.commit() statement in…
chiffa
  • 2,026
  • 3
  • 26
  • 41
4
votes
1 answer

The most appropriate way to use Neo4j from Python in 2015

I'm using latest community Neo4j (2.2.0-M03) for storing my graphs. I'm interested in accessing it from Python. According to the official Neo4j documentation, there are several alternatives. From what I have understood by checking the docs, playing…
redsk
  • 261
  • 6
  • 11
4
votes
2 answers

passing a variable with colon in function python

I am using this api.. whose function call looks like: g.vertices.index.lookup(identifier="value") Now note that idenitifier is a variable which I have not defined but is resoluted by api and value is a string. Something similar happens in pymongo…
frazman
  • 32,081
  • 75
  • 184
  • 269
4
votes
2 answers

error messages using Bulbs/python and Neo4j 2.0

Using Neo4j 2.0 and Python 2.7.6 - I've tried executing several scripts based the Bulbs package, but keep getting the following errors: Traceback (most recent call last): File "D:/neo4jdb/testingbulbs2.7", line 8, in james =…
Mark C
  • 427
  • 2
  • 7
  • 16
4
votes
5 answers

How to use ArangoDB with bulbs & rexster?

I'm currently trying to access an ArangoDB database by using Bulbs and Rexster. I need to do that because I want to use Bulbs (http://bulbflow.com) to launch some gremlin queries from Python. (I really like AQL and arangosh but I already have a lot…
Raphaël Braud
  • 1,489
  • 10
  • 14
4
votes
1 answer

Bulbflow – How to save list/dictionary as property

I am using Bulbflow to access Neo4j through python. I'm now trying to save a python list as a node property, but am consistently running into errors. From the documentation, I can see that lists are an accepted type when defined in models, but I'd…
zanbri
  • 5,958
  • 2
  • 31
  • 41
3
votes
0 answers

using pip3: module “importlib._bootstrap” has no attribute “SourceFileLoader”

I want to install the graph based database library bulb. However when I try to do so I get: (plA_env) (base) antoi@LAPTOP-UTL8OHHO:/mnt/c/Users/antoi/Documents/Programming/plAtform/plAtform$ python3 -m ensurepip --upgrade Looking in links:…
Revolucion for Monica
  • 2,848
  • 8
  • 39
  • 78
1
2 3 4 5 6