A simple neo4j api driver
Project description
Neo4jApi
A simple Neo4j api driver.
Usage
- select node/relation from neo4j:
with Neo4jApi() as dbi:
res = (dbi.select_by_nodes(
Node('ds', labels='DATASET', datasource_id=1)
.relationship(Relation('rel'), Node('sj', labels='SUB_DATAJOB'))))
- start a transaction:
with Neo4jApi() as dbi:
with dbi.start_transaction() as _t:
dbi.insert(Node(labels='DATASOURCE', **data_source))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
neo4japi-1.1.2.tar.gz
(7.9 kB
view hashes)