Skip to main content

drivine-cypher-compiler

Drivine's Cypher compiler for Python: Cypher as SQL for Postgres, Oracle and SQLite. It is the same compiler Drivine for the JVM and Drivine for TypeScript run, built from drivine-cypher-spec's compiler/ by Kotlin/Native, and shipped here as a native library with a small Python binding. It is what drivine-python compiles Cypher with; you don't need it on its own.

import json
import drivine_cypher_compiler

answer = json.loads(drivine_cypher_compiler.compile(json.dumps({
    "store": "postgres",
    "graph": {"name": "g"},
    "cypher": "MATCH (p:Person) RETURN p.name AS name",
})))

The request and the answer are JSON, as the compiler's README describes ("The C API"). The library is loaded on the first compile, not on import. A compile releases the GIL, and several threads may compile at once.

Platforms

There's a wheel for:

  • macOS 11 or later on Apple Silicon (macosx_11_0_arm64)
  • Linux with glibc 2.17 or later, x86_64 and aarch64 (manylinux2014)
  • Windows x64 (win_amd64)

There's none for Intel Macs or for musl Linux (Alpine): Kotlin/Native is dropping its Intel Mac target and has no musl one. On Alpine, a Debian image such as python:3.x-slim works. If you need another platform, open an issue or a pull request at drivine-cypher-spec.

Metadata

Release files for drivine-cypher-compiler 0.46.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for drivine-cypher-compiler 0.46.0
File Actions
drivine_cypher_compiler-0.46.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for drivine_cypher_compiler-0.46.0-py3-none-win_amd64.whl
drivine_cypher_compiler-0.46.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for drivine_cypher_compiler-0.46.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
drivine_cypher_compiler-0.46.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for drivine_cypher_compiler-0.46.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
drivine_cypher_compiler-0.46.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for drivine_cypher_compiler-0.46.0-py3-none-macosx_11_0_arm64.whl

Total release size: 15.0 MB

Release files / drivine_cypher_compiler-0.46.0-py3-none-win_amd64.whl

Download URL drivine_cypher_compiler-0.46.0-py3-none-win_amd64.whl
Size 3.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
7176c776cee58d43030aaf4bd52ab82ead79dbd0832536306211bf34b7d55796
BLAKE2b-256 checksum
How to use checksums
eab3c7d7a3dada57d1ba3938cad9513ad2ea36306135c53f4e420e48114a825f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / drivine_cypher_compiler-0.46.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL drivine_cypher_compiler-0.46.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
71dd5436b002f2d5e7c2ef255a31ae4ff6905c39884ec530307e0e9979b4b2fa
BLAKE2b-256 checksum
How to use checksums
7c3f4ef93b1eb6c11936c36e107aed70ff07eb9e43d01c49414e049ead4c684c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / drivine_cypher_compiler-0.46.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL drivine_cypher_compiler-0.46.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
543fc2b32c55fa9d1ebbd0ae1c7be7b20cf811fcd8e5b76e27fbe310372b99c1
BLAKE2b-256 checksum
How to use checksums
753693c81a55012d290f63055a0c25d6af9f30943cb141b746d1415acb5cefc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / drivine_cypher_compiler-0.46.0-py3-none-macosx_11_0_arm64.whl

Download URL drivine_cypher_compiler-0.46.0-py3-none-macosx_11_0_arm64.whl
Size 3.5 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
82ebf6279e64b799aaff5a48cc802f809abac9d28ab2cbbe40e0b9de83e8c2af
BLAKE2b-256 checksum
How to use checksums
ba3466a11650ec05804b0eabed7b780dd6185ece931d75299d4ed4d8d0f1c3ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for drivine-cypher-compiler 0.46.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for drivine_cypher_compiler-0.46.0-py3-none-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page