Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Simple Neo4j driver

Project description

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

Project details


Release history Release notifications

This version
History Node

0.4.0

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
minibolt-0.4.0.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None Sep 26, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page