Skip to main content

Connector with single-request transactions for Neo4j 3.0 and above

Project description

This library contains everything you need to execute single-request transactions for Neo4j 3.0 and above through its HTTP API.


Research into the speed of performing ETL and batch-type actions on Neo4j showed that using a large, single-request transaction POST-request through Neo4j’s HTTP API outperforms other currently available libraries for this use-case (e.g. the official ‘neo4j-driver’ and ‘py2neo’). The goal of this connector is to provide convenience methods and classes that abstract away the boilerplate communication code.

Community thread about the difference in performance between drivers:


from neo4j-connector import neo4j

connector = neo4j.Connector('http://localhost:7474', ('neo4j','neo4j'))
response ="""MATCH () RETURN COUNT(*) as node_count""")
first_row = response[0]


To install the latest stable version, use:

pip install neo4j-connector


This library lives at Suggestions, bug-reports and pull requests are welcome there.

Project details

Download files

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

Files for neo4j-connector, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size neo4j_connector-1.0.0-py3-none-any.whl (5.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size neo4j-connector-1.0.0.tar.gz (4.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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