I am wondering if there is an ORM solution (or need) with Graph-Database (fe Neo4j). I keep track of the relationship (A is connected to B, which is connected to A through C, etc., Thus, creating a large graph) of objects (including additional attributes for these objects) and should store them in the database, and I think that graphical The database is perfect for this task.
Now, using sql-like databases, I use sqlalchemyś ORM to store my objects, especially due to the fact that I can extract objects from db and work with them in a pythonic style (use their methods, etc.).
Is there any solution for object mapping for Neo4j or another Graph-DB so that I can store and retrieve python objects in and out of Graph-DB and work with them easily?
Or could you write some functions or adapters, for example, in the sqlite python documentation (http://docs.python.org/library/sqlite3.html#letting-your-object-adapt-itself) to retrieve and store objects?
source share