Skip to main content

Alpha hybrid build tooling for typed Python functions.

Project description

Rextio

Rextio 0.1.3 is an alpha-stage local build tool for Python projects (published to PyPI on 2026-07-17 with plugin API 1.3 and tooling contract 2.1.0; supersedes 0.1.2, which emitted tooling contract 2.0.0).

pip install rextio

It analyzes typed Python code, compiles eligible hot-path functions to Rust native modules, and keeps unsupported or unsafe code on the Python fallback path. The goal is to let Python projects adopt Rust acceleration selectively without rewriting the whole project.

Rextio can:

  • discover native candidates automatically or through @rextio.native
  • keep selected functions on fallback with @rextio.exempt
  • generate Rust/PyO3 code for accepted functions
  • generate Python wrappers that preserve normal import paths
  • fall back to Python when native code is unavailable or disabled
  • build hybrid artifacts, zipapp executables, Nuitka executables, standalone native Rust binaries, and optional Rust-importable crates
  • select and version-pin the exact cargo, maturin, Nuitka, and CPython a build uses ([toolchain] in rextio.toml)

Rextio is not a Python replacement and does not attempt full Python semantics or whole-project Rust migration. Native compilation is an optimization; Python fallback behavior remains the correctness baseline.

Project repository: https://github.com/rextio/rextio

Author: Steve Si-young Song rextio.co@gmail.com — X (Twitter): @RextioDev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rextio-0.1.3.tar.gz (381.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rextio-0.1.3-py3-none-any.whl (411.0 kB view details)

Uploaded Python 3

File details

Details for the file rextio-0.1.3.tar.gz.

File metadata

  • Download URL: rextio-0.1.3.tar.gz
  • Upload date:
  • Size: 381.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for rextio-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4d433492be78ce12a9a0aa16287082bb998221a04b50686c3d6d422a6fd4311d
MD5 c51e5f8c4966a2d06bdc8b7dafdbbecc
BLAKE2b-256 18a5a09c508cdcb1c92ebf30b4582ee8c89a79c366ad8f1bbb425dd7b8ebb206

See more details on using hashes here.

File details

Details for the file rextio-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: rextio-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 411.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for rextio-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94ce8f39290a13fcfc33172d1eb5a29b45564fe66f1c466c5871f72e3fc35584
MD5 4cf7da7d4955ec53644ccc468247ffab
BLAKE2b-256 83832a0b1b0861d822cb461cb66564a6faefa6d890610732ae88770d989a3b65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page