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 ...

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.