Skip to main content

Alpha hybrid build tooling for typed Python functions.

Project description

Rextio

Rextio 0.1.0 is an alpha-stage local build tool for Python projects.

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.0.tar.gz (201.6 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.0-py3-none-any.whl (225.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rextio-0.1.0.tar.gz
Algorithm Hash digest
SHA256 64154821c90e05dec634b593f7b8296c69887de2b8109faba583b45334d3a282
MD5 7b64a359a795e35ef211fcca6923075d
BLAKE2b-256 a74f7b19e2c1403ae957f6332b35c4031993ce50b96d6996254c9b47ada520ae

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rextio-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64996d12fa819d7a322971d4545fca75dfd365aa84ab9c7a0031a074486d6fae
MD5 163b7fa8153661d217f142867e9ef338
BLAKE2b-256 c7c0fd7cf29a7f31c7da8ea0678d5a3fe6aff8ac25e691284b6343dc5e334e82

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