Skip to main content

oxid

Compile typed Python into native code, through Rust — no interpreter at run time.

⚠ 0.0.x reserves the name. oxid --version and oxid --help work; oxid build does not yet.

The idea

  1. Parse the source with ruff's Rust parser.
  2. Type every variable from the entry function's annotations.
  3. Emit Rust, and let cargo build --target produce a native binary or library for every platform rustc reaches — Linux, macOS, Windows, Android, iOS, WebAssembly.

Only Rust-backed libraries are accepted. Polars' Python package is a binding over the polars crate, so df.filter(...) lowers to the crate call it already wraps instead of being reimplemented. NumPy, which is C, is out of scope.

Install

uv tool install oxid
oxid --version

License

Apache-2.0 © Optersoft, S.L.

Metadata

Release files for oxid 0.0.1

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

Source distribution (sdist)

Source distribution for oxid 0.0.1
File Size Uploaded
oxid-0.0.1.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oxid 0.0.1
File Interpreter ABI Platform
oxid-0.0.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 164.9 kB

Release files / oxid-0.0.1.tar.gz

Download URL oxid-0.0.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
70c894b02d5fafb5abef82ae7ee9c8b8f311740ef0f1bc8c4982fd568c4886a9
BLAKE2b-256 checksum
How to use checksums
9b82d575025e03c61f8644cdb5c0526b9b46b144f497ab3a8c9ad511e6eb5eef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / oxid-0.0.1-py3-none-macosx_11_0_arm64.whl

Download URL oxid-0.0.1-py3-none-macosx_11_0_arm64.whl
Size 158.5 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1a1a265fcbda8cbd4b415699b5664e1b8503c51d22eeafc14ae3a5f6060e806b
BLAKE2b-256 checksum
How to use checksums
38abafecc6058d87552b8e4fffa97ccd29e81bb8eaea36a12d629050156381c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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