oxid
Compile typed Python into native code, through Rust — no interpreter at run time.
⚠ 0.0.x reserves the name.
oxid --versionandoxid --helpwork;oxid builddoes not yet.
The idea
- Parse the source with ruff's Rust parser.
- Type every variable from the entry function's annotations.
- Emit Rust, and let
cargo build --targetproduce 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)
| File | Size | Uploaded | |
|---|---|---|---|
| oxid-0.0.1.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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}
|