This is a tutorial that demonstrates the use of neomodel and python to create and query data in/from neo4j. The technologies used are:
- neo4j
- Python
- neomodel
Though not required, it will be helpful if you would have gone through neomodel documentation at: https://neomodel.readthedocs.io/en/latest/
Install Neo4J and run it with default configurations (bolt://localhost:7687). Change the password to "password"
Install Python. Install neomodel using command pip install neomodel
After cloning the repo, go to your project directory, and run the following command from command line: neomodel_install_labels --db bolt://neo4j:password@localhost:7687 model.py This will create required schema and constraints in neo4j.
Then run the command: python app.py. This should execute various queries and print the results.