- Home
- Python Package Managers
- Maturin
On the recordRead 7 Oct 202623 facts
Maturin
On the record
- Bindings
- It supports PyO3, cffi, UniFFI, and binary bindings.maturin.rs · read 7 Oct 2026
- Bindings limitation
- For cffi and binary projects, the `bindings` setting is required because Maturin cannot automatically detect those bindings.maturin.rs · read 7 Oct 2026
- Build commands
- Its main commands are `maturin new` to create a configured Cargo project, `maturin build` to build wheels, and `maturin develop` to build and install a module in the current virtual environment.maturin.rs · read 7 Oct 2026
- Build workflow
- The `maturin build` command builds wheels into `target/wheels` by default and does not upload them.maturin.rs · read 7 Oct 2026
- CI integration
- The `maturin generate-ci` command can generate a GitHub Actions workflow for building and publishing release artifacts.maturin.rs · read 7 Oct 2026
- Development limit
- The guide notes that `maturin develop` is faster but does not support every feature available when installing after `maturin build`.maturin.rs · read 7 Oct 2026
- Development workflow
- The `maturin develop` command builds a crate and installs it as a Python module in the current virtual environment.maturin.rs · read 7 Oct 2026
- Installation
- The guide lists binary downloads, pipx, uv, and pip as installation options.maturin.rs · read 7 Oct 2026
- Integrations
- The guide describes integration with tox and recommends using uv to publish packages with `uv publish`.maturin.rs · read 7 Oct 2026
- License
- Maturin is licensed under either Apache License 2.0 or MIT, at the user's option.maturin.rs · read 7 Oct 2026
- Linux compatibility
- For widely usable Linux wheels, the guide says to use a manylinux Docker image or build with zig; Maturin checks generated libraries and assigns wheel platform tags.maturin.rs · read 7 Oct 2026
- Linux wheel compatibility
- For widely usable Linux wheels on PyPI, the guide says to use a manylinux Docker image or build with zig.maturin.rs · read 7 Oct 2026
- Operating systems
- The guide lists Windows, Linux, macOS, and FreeBSD as supported wheel-building platforms.maturin.rs · read 7 Oct 2026
- Package publishing
- Maturin can upload built packages to PyPI.maturin.rs · read 7 Oct 2026
- Packaging
- Maturin can build source distributions when configured through `pyproject.toml` and invoked with `--sdist`.maturin.rs · read 7 Oct 2026
- Platform releases
- Downloadable binaries are built for Windows, Linux, and macOS, with listed architectures including x86, ARM, and PowerPC variants.maturin.rs · read 7 Oct 2026
- Publishing
- The guide says Maturin can upload packages to PyPI and recommends `uv publish` for publishing packages built with `maturin build`.maturin.rs · read 7 Oct 2026
- Purpose
- Maturin builds and publishes Rust crates with Python bindings, as well as Rust binaries, as Python packages.maturin.rs · read 7 Oct 2026