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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neo4j-driver-1.0.0b2.tar.gz.
File metadata
- Download URL: neo4j-driver-1.0.0b2.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ac9aa2a03eec3d4c32cc691ea43e05671db10f0301b891b09c4e8bd6d6e12f1
|
|
| MD5 |
345d88f6780c59d0a24c14d87d75c1e1
|
|
| BLAKE2b-256 |
04894197afaab5dd7d74bdf10e50e52ffc04ef5159836a39145a94858ce97c9f
|
File details
Details for the file neo4j_driver-1.0.0b2-py2.py3-none-any.whl.
File metadata
- Download URL: neo4j_driver-1.0.0b2-py2.py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28cff457c2754e6ac44dd8ffc12d9e06ef78924c1e76f179b6bedd5abf7baa31
|
|
| MD5 |
8bf8a6fa96bd96dc84fffb563c27e7bc
|
|
| BLAKE2b-256 |
e0407ace4100120a315194abe8bb91049168ac8a5e0835f6c0359b07d6bccbf3
|