Neo4j Bolt driver for Python
Project description
Installation
To install the latest stable version, use:
pip install neo4j-driver
For the most up-to-date version (possibly unstable), use:
pip install git+https://github.com/neo4j/neo4j-python-driver.git#egg=neo4j-driver
Example Usage
from neo4j.v1 import GraphDatabase
driver = GraphDatabase.driver("bolt://localhost")
session = driver.session()
session.run("CREATE (a:Person {name:'Bob'})")
cursor = session.run("MATCH (a:Person) RETURN a.name AS name")
while cursor.next()
print(cursor["name"])
cursor.close()
session.close()
Command Line
python -m neo4j "CREATE (a:Person {name:'Alice'}) RETURN a, labels(a), a.name"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
neo4j-driver-1.0.0b2.tar.gz
(26.1 kB
view hashes)
Built Distribution
Close
Hashes for neo4j_driver-1.0.0b2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28cff457c2754e6ac44dd8ffc12d9e06ef78924c1e76f179b6bedd5abf7baa31 |
|
MD5 | 8bf8a6fa96bd96dc84fffb563c27e7bc |
|
BLAKE2b-256 | e0407ace4100120a315194abe8bb91049168ac8a5e0835f6c0359b07d6bccbf3 |