Skip to content
forked from sirmmo/py2neo

Py2neo is a comprehensive toolkit for working with Neo4j from within Python applications or from the command line.

License

Notifications You must be signed in to change notification settings

AaaCabbage/py2neo

 
 

Repository files navigation

Py2neo v5

License

Py2neo is a client library and toolkit for working with Neo4j from within Python applications and from the command line. The library supports both Bolt and HTTP and provides a high level API, an OGM, admin tools, an interactive console, a Cypher lexer for Pygments, and many other bells and whistles. Unlike previous releases, Py2neo does not require an HTTP-enabled server and can work entirely through Bolt.

When considering whether to use py2neo or the official Python Driver for Neo4j, there is a trade-off to be made. Py2neo offers a higher level API and an OGM, but the official driver provides mechanisms to work with clusters, such as automatic retries. If you are new to Neo4j, need an OGM, do not want to learn Cypher immediately, or require data science integrations, py2neo may be the better choice. If you are building a high-availability Enterprise application, or are using a cluster, you likely need the official driver.

Installation

PyPI version Build Status Coverage Status

To install the latest stable version of py2neo, simply use pip:

$ pip install py2neo

Or to install the latest bleeding edge code directly from GitHub, use:

$ pip install git+https://github.com/technige/py2neo.git#egg=py2neo

Note that code installed directly from GitHub is likely to be unstable. Your mileage may vary.

Requirements

Python versions Neo4j versions

The following versions of Python and Neo4j are supported:

  • Python 2.7 / 3.5 / 3.6 / 3.7 / 3.8
  • Neo4j 3.2 / 3.3 / 3.4 / 3.5 / 4.0 (the latest point release of each version is recommended)

While either Neo4j Community or Enterprise edition may be used, py2neo does not yet fully support all Enterprise-only features, such as Causal Clustering. Py2neo does however provide support for the multi-database functionality added in Neo4j 4.0. More about this can be found in the documentation for the Graph class.

Note also that Py2neo is developed and tested under Linux using standard CPython distributions. While other operating systems and Python distributions may work, support for these is not available.

Contact

For more information, read the handbook.

About

Py2neo is a comprehensive toolkit for working with Neo4j from within Python applications or from the command line.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.4%
  • Shell 1.3%
  • Other 1.3%