--- id: neo4j-rust-ext version: "6.2.0.0" license: Apache-2.0 AND MIT license_treatment: permissive maintenance: active --- # neo4j-rust-ext — Rust Extensions for a Faster Neo4j Bolt Driver for Python License: permissive · Maintenance: active · Downloads: 340.1K/mo ## 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 above — 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 pip install neo4j-rust-ext uv add neo4j-rust-ext 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_current - Install friction: medium - Maintenance: active - Downloads: 340.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags neo4j python driver speedup, rust extensions neo4j, faster neo4j bolt driver, neo4j performance optimization, neo4j driver acceleration, performance-optimization, rust-extension, neo4j-driver [View on SkillFed](https://skillfed.io/packages/neo4j-rust-ext) · [View on PyPI](https://pypi.org/project/neo4j-rust-ext/)