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')),
ds__id=1, ds__name=(['kafka', 'elastisearch'], 'IN')))
- start a transaction:
with Neo4jApi() as dbi:
with dbi.start_transaction() as _t:
dbi.insert(Node(labels='DATASOURCE', **data_source), t=_t)
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.3.tar.gz
(9.0 kB
view details)
File details
Details for the file neo4japi-1.1.3.tar.gz.
File metadata
- Download URL: neo4japi-1.1.3.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c9b90fba6fb6273162159cc60781bba3d3256616f744aa6893721fdc9d8018d
|
|
| MD5 |
1620f82e196385553991152ed72a3915
|
|
| BLAKE2b-256 |
00e889907def1fe4d22e74f5a6ce0498c1f84b926736be9806b17a1f8cecb779
|