neo4j-driver
Neo4j Bolt driver for Python
Decision gist · record as of 2026-08-14
Yes, but with a caveat: this package is deprecated and the project recommends installing neo4j instead, which is a drop-in replacement. If you are starting a new project, install neo4j. If you have existing code using neo4j-driver, it remains functional and actively maintained through version 5.x, but plan a migration to neo4j before version 6.0.0 is released. The driver itself is well-maintained, has no known vulnerabilities, and installs cleanly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Neo4j server instance accessible at the specified URI; Python 3.7 or later.
- Low friction installation with a single pure-Python wheel dependency (pytz).
- Actively maintained with monthly release cadence; last commit 2026-07-21.
License · maintenance · safety
Apache License, Version 2.0 (permissive) — Apache License 2.0 (permissive) allows commercial and private use with minimal restrictions. Safe for most projects.
last release 2026-05-04 (102 days) · last repo commit 2026-07-21 · 1,049 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 104,608 downloads/mo, #12,743 on PyPI
Alternatives
Verify before relying
pip install neo4j-driver
from neo4j import GraphDatabase
with GraphDatabase.driver("neo4j://localhost:7687", auth=("user", "password")) as driver:
records, _, _ = driver.execute_query("MATCH (n) RETURN n LIMIT 1")
for record in records:
print(record)- Performance characteristics compared to the neo4j alias package (the recommended replacement).
- Whether Rust extensions mentioned in docs are available or required for specific use cases.
What it is and what it does
neo4j-driver is the official Python client for Neo4j graph databases, providing synchronous and asynchronous APIs to execute Cypher queries and manage graph data. It implements the Bolt protocol for efficient communication with Neo4j servers and supports modern Python versions from 3.7 through 3.13. The driver handles connection pooling, transaction management, and result streaming automatically.
The package is now deprecated in favor of installing the neo4j package instead, which is a drop-in replacement. However, neo4j-driver continues to receive updates through the 5.x series and will stop receiving updates starting with version 6.0.0. Its single runtime dependency is pytz, keeping the installation lightweight. It is actively maintained with a monthly release cadence aligned with Neo4j DBMS versioning.
Use it for
- Build Python applications that query and manipulate graph data stored in Neo4j databases.
- Execute Cypher queries with parameters to retrieve or modify relationships and nodes.
- Implement async workflows for non-blocking database operations in concurrent applications.
- Manage connection pooling and transaction semantics automatically in multi-threaded environments.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but with a caveat: this package is deprecated and the project recommends installing neo4j instead, which is a drop-in replacement.
If you are starting a new project, install neo4j. If you have existing code using neo4j-driver, it remains functional and actively maintained through version 5.x, but plan a migration to neo4j before version 6.0.0 is released. The driver itself is well-maintained, has no known vulnerabilities, and installs cleanly.
Install
neo4j-driver on PyPI
Before you install
Low friction installation with a single pure-Python wheel dependency (pytz). Actively maintained with monthly release cadence; last commit 2026-07-21. Package is deprecated in favor of the neo4j alias, but continues to receive updates through version 5.x.
Requires a running Neo4j server instance accessible at the specified URI; Python 3.7 or later.
License in practice
Apache License 2.0 (permissive) allows commercial and private use with minimal restrictions. Safe for most projects.
Quickstart
pip install neo4j-driver
from neo4j import GraphDatabase
with GraphDatabase.driver("neo4j://localhost:7687", auth=("user", "password")) as driver:
records, _, _ = driver.execute_query("MATCH (n) RETURN n LIMIT 1")
for record in records:
print(record)
Verify before relying
- Performance characteristics compared to the neo4j alias package (the recommended replacement).
- Whether Rust extensions mentioned in docs are available or required for specific use cases.
Package facts
| License | Apache License, Version 2.0 permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepytz |
| Maintenance | Actively maintained 102 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 104,608 / month, #12,743 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: DatabaseTopic :: Software DevelopmentTyping :: Typed |
Evidence: neo4j_driver-5.28.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “neo4j graph database driver”
- neo4j-driverPython driver for connecting to and querying Neo4j graph databases…
- neo4jOfficial Python driver for connecting to and querying Neo4j graph…
- py2neoPy2neo is a Python client library for Neo4j that provides Bolt and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also neo4j · neo4j-rust-ext · neomodel · py2neo · FalkorDB · py2neo-history · graphlib · graphdatascience · neo4j-graphrag · python-arango