minibolt
A simple Neo4j database driver.
Requirement
CPython 3.5+ https://www.python.org or MicroPython https://micropython.org
Install
# pip install minibolt
Sample Code
>>> import minibolt
>>> conn = minibolt.connect('servername', 'username', 'password')
>>> rs = conn.run('MATCH (tom:Person {name: "Tom Hanks"})-[:ACTED_IN]->(movie) return movie.title')
>>> rs.fields
['movie.title']
>>> for r in rs:
... print(r[0])
...
Charlie Wilson's War
The Polar Express
A League of Their Own
Cast Away
Apollo 13
The Green Mile
The Da Vinci Code
Cloud Atlas
That Thing You Do
Joe Versus the Volcano
Sleepless in Seattle
You've Got Mail
>>>
NetworkX integration
See https://gist.github.com/nakagami/a9c050ae76dc5a40eaeb67e6326b774e
Metadata
Release files for minibolt 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| minibolt-0.4.0.tar.gz | 5.3 kB | Details |
Release files / minibolt-0.4.0.tar.gz
| Download URL | minibolt-0.4.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f479b02628e3c348963b877d251d627bd636536901650855d7d265b30e60778
|
|
BLAKE2b-256 checksum How to use checksums |
a0c25b2e6d2f5587e12fc04c934bac56ed4a007d677e4a6073f4a5bc3966abb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |