Python API¶
Grafeo provides first-class Python support through the grafeo package.
Quick Start¶
import grafeo
# Create a database
db = grafeo.GrafeoDB()
# Execute queries
db.execute("INSERT (:Person {name: 'Alix'})")
result = db.execute("MATCH (p:Person) RETURN p.name")
for row in result:
print(row['p.name'])
Sections¶
-
Creating and configuring databases.
-
Creating, reading, updating and deleting nodes.
-
Managing relationships between nodes.
-
Transaction management and isolation.
-
Working with query results.