py2neo
Python client library and toolkit for Neo4j
Decision gist · record as of 2026-08-14
No—not for new projects. The package is end-of-life with no further updates, and the maintainers explicitly recommend official Neo4j drivers instead. For existing codebases already using py2neo, it remains functional but will not receive security patches or bug fixes. Use official Neo4j drivers for any new development.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Neo4j instance accessible at the specified URI; development and testing are documented for Linux with standard CPython distributions.
- Installation is straightforward with low friction; however, the project is explicitly marked end-of-life with no further updates.
- The last commit was 2023-11-30, and the maintainers recommend using official Neo4j drivers instead.
License · maintenance · safety
Apache License, Version 2.0 (permissive) — Licensed under Apache License, Version 2.0 (permissive), which allows commercial and private use with minimal restrictions—no licensing barrier to adoption.
last release 2023-10-20 (1029 days) · last repo commit 2023-11-30 · 32 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 85,554 downloads/mo, #13,915 on PyPI
Alternatives
Verify before relying
pip install py2neo
from py2neo import Graph
graph = Graph("bolt://localhost:7687", auth=("neo4j", "password"))
result = graph.run("UNWIND range(1, 3) AS n RETURN n, n * n as n_sq")- Current compatibility with Neo4j versions released after 2023-11-30.
- Whether the eight runtime dependencies remain compatible with modern Python and Neo4j versions.
- Stability and security posture of the package given its end-of-life status and lack of active maintenance.
What it is and what it does
Py2neo is a Python client library for working with Neo4j graph databases. It provides both Bolt and HTTP protocol support, a high-level query API, an object-graph mapper (OGM), admin tools, and a Cypher lexer for syntax highlighting via Pygments. The library handles connection routing for Neo4j clusters and supports authentication.
However, the project is explicitly end-of-life. The maintainers have announced no further updates and recommend using official Neo4j drivers instead. While the package remains installable and functional for existing deployments, it receives no bug fixes, security patches, or feature development.
Use it for
- Running Cypher queries against a Neo4j database from Python code with a simple high-level API.
- Building object-graph mappings to work with Neo4j data as Python objects via the OGM layer.
- Connecting to Neo4j clusters with automatic routing support using neo4j:// URIs.
- Prototyping or maintaining legacy Python applications that already depend on py2neo.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—not for new projects.
The package is end-of-life with no further updates, and the maintainers explicitly recommend official Neo4j drivers instead. For existing codebases already using py2neo, it remains functional but will not receive security patches or bug fixes. Use official Neo4j drivers for any new development.
Install
py2neo on PyPI
Before you install
Installation is straightforward with low friction; however, the project is explicitly marked end-of-life with no further updates. The last commit was 2023-11-30, and the maintainers recommend using official Neo4j drivers instead. The repository remains unarchived but dormant.
Requires a running Neo4j instance accessible at the specified URI; development and testing are documented for Linux with standard CPython distributions.
License in practice
Licensed under Apache License, Version 2.0 (permissive), which allows commercial and private use with minimal restrictions—no licensing barrier to adoption.
Quickstart
pip install py2neo
from py2neo import Graph
graph = Graph("bolt://localhost:7687", auth=("neo4j", "password"))
result = graph.run("UNWIND range(1, 3) AS n RETURN n, n * n as n_sq")
Verify before relying
- Current compatibility with Neo4j versions released after 2023-11-30.
- Whether the eight runtime dependencies remain compatible with modern Python and Neo4j versions.
- Stability and security posture of the package given its end-of-life status and lack of active maintenance.
Package facts
| License | Apache License, Version 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagescertifiinterchangemonotonicpackagingpansipygmentssixurllib3 |
| Maintenance | Dormant 1,029 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 85,554 / month, #13,915 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: DatabaseTopic :: Database :: Database Engines/ServersTopic :: Scientific/EngineeringTopic :: Software DevelopmentTopic :: Software Development :: Libraries |
Evidence: py2neo-2021.2.4-py2.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 bolt http connector”
- py2neoPy2neo is a Python client library for Neo4j that provides Bolt and…
- py2neo-historyProvides access to archived versions of the py2neo Neo4j client…
- neo4jOfficial Python driver for connecting to and querying Neo4j graph…
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 py2neo-history · neomodel · neo4j · neo4j-driver · neo4j-rust-ext · graphlib · graphdatascience · langchain-neo4j · neo4j-graphrag · FalkorDB