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.54.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.54.0
File Actions
drivine_cypher_compiler-0.54.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for drivine_cypher_compiler-0.54.0-py3-none-win_amd64.whl
drivine_cypher_compiler-0.54.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.54.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
drivine_cypher_compiler-0.54.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for drivine_cypher_compiler-0.54.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
drivine_cypher_compiler-0.54.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for drivine_cypher_compiler-0.54.0-py3-none-macosx_11_0_arm64.whl

Total release size: 18.3 MB

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

Download URL drivine_cypher_compiler-0.54.0-py3-none-win_amd64.whl
Size 4.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
9139d2700fd28a1255fb5550bade8458716b602d09b0ffcb467a870f0435a801
BLAKE2b-256 checksum
How to use checksums
c63af0bbc4e3e212bb6b51dbef2d98a15f870c10b51eccfdb913e9140f8bac7f
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 28, 2026.

Transparency log

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

Download URL drivine_cypher_compiler-0.54.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
add316580781c7495622403331f9412ddf4dc9968a770afcf0798e0e5cc87fce
BLAKE2b-256 checksum
How to use checksums
85f9faf7d9d78b42eb288289a8ff362f0da960d02b9425f29f0e7bb082045f24
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 28, 2026.

Transparency log

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

Download URL drivine_cypher_compiler-0.54.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 4.5 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
13a9d453e08d0d3ad239fafb12efbf85c831e4886fc1edd092329d8c84c04215
BLAKE2b-256 checksum
How to use checksums
258a9ebcca26eda02fc57187ac604f13c1ea67fbdfc0f6947d0bd3f2c04a5622
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 28, 2026.

Transparency log

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

Download URL drivine_cypher_compiler-0.54.0-py3-none-macosx_11_0_arm64.whl
Size 4.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
03db5d439eac26b5d10a341b5001053160fa6f8436a68c4a9f580f32be0ab73d
BLAKE2b-256 checksum
How to use checksums
d236f8f15c34e912dcaf72b01556b7aa06eb36700949ae3e2d9d2a4855759e68
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 28, 2026.

Transparency log

Security for drivine-cypher-compiler 0.54.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.54.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 28, 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.

Release history Release notifications | RSS feed

This release

0.54.0 This release

4 release files Full provenance

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