O'Reilly logo

Building Web Applications with Python and Neo4j by Sumit Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Declaring models and properties

In this section, we will discuss creating the model and the properties using various APIs exposed by Neomodel. We will also learn about the mapping of the models and properties with Neo4j nodes.

Let's move forward and see how Neomodel provides the mapping of Neo4j nodes and creates a data model.

Neo4j consists of nodes and these nodes can further have labels and properties. Properties in Neo4j can contain String, Numeric, Boolean, or collections of any other type of value. Refer to http://neo4j.com/docs/stable/property-values-detailed.html for the complete list of data types supported by Neo4j.

Neomodel defines all the necessary base classes for mapping Neo4j nodes and properties, provides a wrapper over the structure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required