neo4j-rest-client 0,0,0,0 travis-ci python

Object-oriented Python library to interact with Neo4j standalone REST server

.. image:: :target:

.. image:: :target:

.. image:: :target: :alt: Downloads

Neo4j Python REST Client

:synopsis: Object-oriented Python library to interact with Neo4j standalone REST server.

The first objective of Neo4j Python REST Client is to make transparent for Python programmers the use of a local database through python-embedded_ or a remote database thanks to Neo4j REST Server. So, the syntax of this API is fully compatible with python-embedded. However, a new syntax is introduced in order to reach a more pythonic style.


Available throught Python Package Index::

$ pip install neo4jrestclient


$ easy_install neo4jrestclient

Getting started_

The main class is GraphDatabase, exactly how in python-embedded_:

.. code:: python

from neo4jrestclient.client import GraphDatabase

gdb = GraphDatabase(”http://localhost:7474/db/data/”)

Due to the syntax is fully compatible with python-embedded_, the next lines only show the commands added and its differences.

Creating a node:

.. code:: python

n = gdb.nodes.create()

# Equivalent to >>> n = gdb.node()

Specify properties for new node:

.. code:: python

n = gdb.nodes.create(color=“Red”, width=16, height=32)

Accessing properties:

.. code:: python

value = n[‘key’] # Get property value

n[‘key’] = value # Set property value

Create relationship:

.. code:: python

n1.relationships.create(“Knows”, n2) # Useful when the name of # relationship is stored in a variable

Specify properties for new relationships:

.. code:: python

n1.Knows(n2, since=123456789, introduced_at=“Christmas party”)


For the extended and latest version of the documentation, please, visit the read the docs_ site

.. _python-embedded: .. _lucene-querybuilder: .. _read the docs: .. _Documentation: .. _Installation: .. _Getting started:

.. image:: :alt: Join the chat at :target:

Related Repositories



Neo4j graph database driver (REST API client) for Node.js ...



Object-oriented Python library to interact with Neo4j standalone REST server ...



A feature rich idiomatic Clojure client for the Neo4J REST API ...



Neo4j REST Client in golang ...



Erlang client library for Neo4J's REST API ...

Top Contributors

versae mhluongo necaris robinedwards doismellburning stevejalim carlsonp johanlundberg llorentealex panisson ttsanevdzineit PabloCastellano aventurella frewsxcv dhepper kbeigan mroyal simock85 gitter-badger ttsanev dbro


-   2.1.1 zip tar
-   2.1.0 zip tar
-   2.0.4 zip tar
-   2.0.3 zip tar
-   2.0.2 zip tar
-   2.0.1 zip tar
-   2.0.0 zip tar
-   1.9.0 zip tar
-   1.8.0 zip tar
-   1.7.0 zip tar
-   1.6.2 zip tar
-   1.6.1 zip tar
-   1.6.0 zip tar
-   1.5.0 zip tar
-   1.4.5 zip tar
-   1.4.4 zip tar
-   1.4.3 zip tar
-   1.4.2 zip tar
-   1.4.1 zip tar
-   1.4.0 zip tar
-   1.3.4 zip tar
-   1.3.3 zip tar
-   1.3.2 zip tar
-   1.3.1 zip tar
-   1.3.0 zip tar