Exploring the py2neo APIs

Py2neo provides various features and exposes a number of APIs to work with Neo4j. Let's discuss a few of the important APIs that we will use along with the examples in the upcoming sections.

Graph

Graph is one of the basic APIs and contains all the basic operations related to the graph database. It is a wrapper around the REST API ( http://docs.neo4j.org/chunked/stable/rest-api.html), exposed by Neo4j. It connects to the base URI of Neo4j, and then further discovers other REST endpoints exposed by Neo4j. Graph can be used to connect to the local or remote Neo4j server. It can also connect the Neo4j server running behind the firewall by providing the username in the URL itself. The following are the code snippets for using ...

Get Building Web Applications with Python and Neo4j now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.