Building Neo4j Applications with Python

Python Developer
Building Neo4j Applications with Python | Python

Course Description

In this course, we walk through the steps to integrate Neo4j into your Python projects.

We will follow the steps to create an instance of the Neo4j Python Driver, learn about sessions and transactions, and use that knowledge to build a REST API with Flask.

The project also serves a pre-built Single Page Application (SPA) that calls the API. As you work through the course, you will replace the hardcoded API responses with data from Neo4j.

The course automatically creates a new recommendations sandbox within Neo4j Sandbox that you will use throughout the course.

By the end of this course, you will have gained a solid understanding of how to use Neo4j in a Python application to build a practical and robust API. You will be able to use your newfound knowledge to create your own Neo4j-backed APIs. So, get ready to dive into the world of graph databases and Python!


By taking this course, we assume that you have a working knowledge of Python and PIP. We also assume that you have at least a basic knowledge of Neo4j.

If you haven’t already done so, we recommend that you also take the Neo4j Fundamentals course in order to gain a basic understanding of Neo4j and the Cypher Fundamentals to understand how to query Neo4j using Cypher.

Code Challenges with GitPod

The challenges in this course use a service called GitPod to issue code challenges. To use GitPod you must sign in with your GitLab, GitHub or Bitbucket account.


1 hour (plus 7 hours for optional code challenges)

What you will learn

  • The lifecycle of the Neo4j Driver and how it relates to your application

  • How to install and instantiate the Neo4j Python Driver to your Python project

  • How read and write transactions work with Neo4j

  • Best practices on how to use Neo4j within your Python project.

Get Support

If you find yourself stuck at any stage then our friendly community will be happy to help. You can reach out for help on the Neo4j Community Site, or head over to the Neo4j Discord server for real-time discussions.


If you have any comments or feedback on this course you can email us on

Related Courses

Neo4j Fundamentals

Learn the basics of Neo4j and the property graph model
1 hour

Cypher Fundamentals

Learn Cypher in 1 hour
1 hour

Graph Data Modeling Fundamentals

Learn how to design a Neo4j graph using best practices
2 Hours