skillfed

neo4j-rust-ext

Rust Extensions for a Faster Neo4j Bolt Driver for Python

neo4j-rust-ext v6.2.0.0 340.1K downloads/30d#7,415 on PyPI49
Permissive license Apache-2.0 AND MIT Active released

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

Rust-compiled extensions that accelerate the official Neo4j Python driver by optimizing performance-critical operations, requiring no code changes to existing driver usage.

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

pip

pip install neo4j-rust-ext

uv

uv add neo4j-rust-ext

poetry

poetry add neo4j-rust-ext

Installing neo4j-rust-ext

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.

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"))

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.

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 — neo4j
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)

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

Keywords: neo4j, graph, database

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

Tags

neo4j python driver speeduprust extensions neo4jfaster neo4j bolt driverneo4j performance optimizationneo4j driver acceleration
performance-optimizationrust-extensionneo4j-driver

More Software Development packages