neo4j-rust-ext
Rust Extensions for a Faster Neo4j Bolt Driver for Python
Decision gist · record as of 2026-08-14
Yes, if you use the official Neo4j Python driver and your workload involves moving substantial data per query. The installation is straightforward on common platforms (wheels provided for Python 3.10–3.12 on Linux, macOS, Windows), requires no code changes, and carries no license friction. Install friction is medium only if you hit an unsupported platform and must compile from source. No known vulnerabilities and active maintenance make it a low-risk performance win.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Rust 1.88 or later must be installed if a pre-built wheel is unavailable for your platform; platform-specific build tools (e.g., gcc on Linux) may also be required.
- Medium install friction due to pre-built wheels for common platforms (Python 3.10–3.12 on Linux, macOS, Windows) but falls back to source compilation if your platform lacks a wheel, requiring Rust 1.88 or later and platform-specific build tools.
License · maintenance · safety
Apache-2.0 AND MIT (permissive) — Dual-licensed under Apache-2.0 and MIT (permissive), so you may choose either license term; no restrictions on commercial or proprietary use.
last release 2026-05-05 (101 days) · last repo commit 2026-07-22 · 49 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 340,133 downloads/mo, #7,415 on PyPI
Alternatives
Verify before relying
# Install neo4j-rust-ext instead of neo4j
pip install neo4j-rust-ext==6.2.0.0
# Use the driver as normal—no code changes needed
from neo4j import GraphDatabase
driver = GraphDatabase.driver("bolt://localhost", auth=("user", "pass"))- Whether the measured 10x speedup applies to your specific workload or only to use-cases moving large records.
- Compatibility with Neo4j driver versions older than 5.14.1.
- Whether pre-built wheels exist for Python 3.13 and 3.14 (classifiers list them but friction_evidence only shows 3.10–3.12).
What it is and what it does
neo4j-rust-ext is a drop-in performance accelerator for the official Neo4j Python driver. It wraps the driver with Rust-compiled extensions that speed up data marshalling and protocol handling without requiring any changes to your application code. You install it in place of the base neo4j package, and it automatically pulls in the driver as a dependency, then registers itself so the driver picks it up at runtime.
The package trades medium install friction (pre-built wheels for common platforms, but source compilation as a fallback) for measurable speed gains on workloads that move large or numerous records. It's maintained actively, supports Python 3.10–3.14, and carries no known vulnerabilities. The dual Apache-2.0 and MIT license poses no restrictions for commercial use.
Use it for
- Accelerating bulk data exports or large result-set processing from Neo4j without rewriting driver code.
- Improving throughput in high-volume transactional applications where driver overhead is a bottleneck.
- Reducing latency in applications that move many records per query, where Rust optimizations have the most impact.
- Deploying on Linux, macOS, or Windows where pre-built wheels eliminate compilation overhead.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use the official Neo4j Python driver and your workload involves moving substantial data per query.
The installation is straightforward on common platforms (wheels provided for Python 3.10–3.12 on Linux, macOS, Windows), requires no code changes, and carries no license friction. Install friction is medium only if you hit an unsupported platform and must compile from source. No known vulnerabilities and active maintenance make it a low-risk performance win.
Install
neo4j-rust-ext on PyPI
Before you install
Medium install friction due to pre-built wheels for common platforms (Python 3.10–3.12 on Linux, macOS, Windows) but falls back to source compilation if your platform lacks a wheel, requiring Rust 1.88 or later and platform-specific build tools.
Rust 1.88 or later must be installed if a pre-built wheel is unavailable for your platform; platform-specific build tools (e.g., gcc on Linux) may also be required.
License in practice
Dual-licensed under Apache-2.0 and MIT (permissive), so you may choose either license term; no restrictions on commercial or proprietary use.
Quickstart
# Install neo4j-rust-ext instead of neo4j
pip install neo4j-rust-ext==6.2.0.0
# Use the driver as normal—no code changes needed
from neo4j import GraphDatabase
driver = GraphDatabase.driver("bolt://localhost", auth=("user", "pass"))
Verify before relying
- Whether the measured 10x speedup applies to your specific workload or only to use-cases moving large records.
- Compatibility with Neo4j driver versions older than 5.14.1.
- Whether pre-built wheels exist for Python 3.13 and 3.14 (classifiers list them but friction_evidence only shows 3.10–3.12).
Package facts
| License | Apache-2.0 AND MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packageneo4j |
| Maintenance | Actively maintained 101 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 340,133 / month, #7,415 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/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: RustTopic :: DatabaseTopic :: Software Development |
Evidence: neo4j_rust_ext-6.2.0.0-cp310-cp310-macosx_10_12_x86_64.whl; neo4j_rust_ext-6.2.0.0-cp310-cp310-macosx_11_0_arm64.whl; neo4j_rust_ext-6.2.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; neo4j_rust_ext-6.2.0.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; neo4j_rust_ext-6.2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; neo4j_rust_ext-6.2.0.0-cp310-cp310-musllinux_1_2_x86_64.whl; neo4j_rust_ext-6.2.0.0-cp310-cp310-win32.whl; neo4j_rust_ext-6.2.0.0-cp310-cp310-win_amd64.whl; neo4j_rust_ext-6.2.0.0-cp310-cp310-win_arm64.whl; neo4j_rust_ext-6.2.0.0-cp311-cp311-macosx_10_12_x86_64.whl; neo4j_rust_ext-6.2.0.0-cp311-cp311-macosx_11_0_arm64.whl; neo4j_rust_ext-6.2.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; neo4j_rust_ext-6.2.0.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; neo4j_rust_ext-6.2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; neo4j_rust_ext-6.2.0.0-cp311-cp311-musllinux_1_2_x86_64.whl; neo4j_rust_ext-6.2.0.0-cp311-cp311-win32.whl; neo4j_rust_ext-6.2.0.0-cp311-cp311-win_amd64.whl; neo4j_rust_ext-6.2.0.0-cp311-cp311-win_arm64.whl; neo4j_rust_ext-6.2.0.0-cp312-cp312-macosx_10_12_x86_64.whl; neo4j_rust_ext-6.2.0.0-cp312-cp312-macosx_11_0_arm64.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 python driver speedup”
- neo4j-rust-extRust-compiled extensions that accelerate the official Neo4j Python…
- neo4j-driverPython driver for connecting to and querying Neo4j graph databases…
- 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 kailash-enterprise · neo4j-driver · neo4j · prometheus-client-python-speedups · ormar-utils · py2neo · py2neo-history · fable-library · neo4j-graphrag · pyston-autoload