$npx skillfedfor your agent

maturin

Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages

With conditionsPyPI Build ToolsReleased Jun 202619.4M downloads / moMIT OR Apache-2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — maturin-1.14.1-py3-none-linux_armv6l.whl · maturin-1.14.1-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl · maturin-1.14.1-py3-none-macosx_10_12_x86_64.whl
v1.14.1 · released 2026-06-19 · Python >=3.7 · 1 runtime deps: tomli

Yes, if you are building Python packages from Rust code. Maturin is the modern standard for this workflow, actively maintained, widely used (top 5000 PyPI packages), and eliminates significant build configuration overhead. Install it as a build tool (via pipx or uv recommended) rather than as a runtime dependency. Not relevant for pure-Python projects or if you are only consuming Rust-based packages.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Rust toolchain (cargo) to be installed on your system; maturin itself is a build tool, not a runtime library.
  • Medium install friction due to platform-specific wheel distribution across many architectures (x86_64, ARM, RISC-V, etc.), but pre-built binaries are available for all major platforms.
  • Active maintenance with recent releases (56 days since last update) and strong repository activity (5752 stars) suggest reliable ongoing support.

License · maintenance · safety

MIT OR Apache-2.0 (permissive) — Dual-licensed under MIT OR Apache-2.0 (permissive), meaning you may choose either license when using or distributing maturin. Both are permissive open-source licenses with minimal restrictions on commercial or proprietary use.

last release 2026-06-19 (56 days) · last repo commit 2026-08-13 · 5,752 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 19,379,125 downloads/mo, #1,067 on PyPI

Verify before relying

pip install maturin
maturin new my_project
cd my_project
maturin build
# Or for development:
maturin develop
  • Whether the package works reliably with all advertised Python versions (3.8+) and interpreters (PyPy, GraalPy) in practice.
  • Performance characteristics and build time overhead compared to setuptools-rust or other Rust-Python build tools.
  • Compatibility with less common platforms or edge cases in mixed Rust/Python project structures.
Same gist for agents: .md · .json

What it is and what it does

Maturin is a build tool that automates the creation of Python packages from Rust source code. It handles the complexity of compiling Rust code with Python bindings (via PyO3, CFFI, or Uniffi), generating platform-specific wheels, and publishing to PyPI—all with minimal configuration beyond a Cargo.toml and optional pyproject.toml. It supports building for Python 3.8+ across Windows, Linux, macOS, and FreeBSD, with basic support for PyPy and GraalPy.

The tool provides three main workflows: `maturin new` scaffolds a new project, `maturin build` compiles wheels for distribution, and `maturin develop` installs a compiled module directly into your current virtualenv for rapid iteration. It integrates with standard Python packaging (PEP 621 metadata, console scripts, trove classifiers) and works alongside existing Cargo and setuptools configurations, making it suitable for mixed Rust/Python projects or pure Rust binaries packaged as Python tools.

Use it for

  • Package a Rust library with PyO3 bindings as a pip-installable wheel for distribution on PyPI.
  • Build performance-critical Python modules in Rust while maintaining a pure-Python API surface.
  • Develop a mixed Rust/Python project where Python handles orchestration and Rust handles compute-intensive tasks.
  • Create command-line tools written in Rust and distribute them as Python packages for easy installation via pip.
  • Automate multi-platform wheel building (x86_64, ARM, RISC-V) for CI/CD pipelines without manual cross-compilation.
  • Integrate Rust FFI bindings (CFFI) or Uniffi interfaces into existing Python packages without setuptools-rust boilerplate.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building Python packages from Rust code.

Maturin is the modern standard for this workflow, actively maintained, widely used (top 5000 PyPI packages), and eliminates significant build configuration overhead. Install it as a build tool (via pipx or uv recommended) rather than as a runtime dependency. Not relevant for pure-Python projects or if you are only consuming Rust-based packages.

Install

maturin on PyPI

Before you install

Medium install friction due to platform-specific wheel distribution across many architectures (x86_64, ARM, RISC-V, etc.), but pre-built binaries are available for all major platforms. Active maintenance with recent releases (56 days since last update) and strong repository activity (5752 stars) suggest reliable ongoing support.

Requires Rust toolchain (cargo) to be installed on your system; maturin itself is a build tool, not a runtime library.

License in practice

Dual-licensed under MIT OR Apache-2.0 (permissive), meaning you may choose either license when using or distributing maturin. Both are permissive open-source licenses with minimal restrictions on commercial or proprietary use.

Quickstart

pip install maturin
maturin new my_project
cd my_project
maturin build
# Or for development:
maturin develop

Verify before relying

  • Whether the package works reliably with all advertised Python versions (3.8+) and interpreters (PyPy, GraalPy) in practice.
  • Performance characteristics and build time overhead compared to setuptools-rust or other Rust-Python build tools.
  • Compatibility with less common platforms or edge cases in mixed Rust/Python project structures.

Package facts

LicenseMIT OR Apache-2.0 permissive
Python supportSupports the current Python release >=3.7
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
tomli
MaintenanceActively maintained 56 days since the last release
Last repo commit
First released
Downloads19,379,125 / month, #1,067 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: GraalPyProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: RustTopic :: Software Development :: Build Tools

Evidence: maturin-1.14.1-py3-none-linux_armv6l.whl; maturin-1.14.1-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; maturin-1.14.1-py3-none-macosx_10_12_x86_64.whl; maturin-1.14.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl; maturin-1.14.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl; maturin-1.14.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl; maturin-1.14.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl; maturin-1.14.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl; maturin-1.14.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl; maturin-1.14.1-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl; maturin-1.14.1-py3-none-win32.whl; maturin-1.14.1-py3-none-win_amd64.whl; maturin-1.14.1-py3-none-win_arm64.whl

Tags

Capabilities
rust python bindings buildpyo3 wheel builderrust to python packagingcffi bindings compilerrust binary python packagemanylinux wheel buildercargo python integration
Topics
rust-python-bindingswheel-builderpyo3

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “rust python bindings build”

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also maturin-import-hook · setuptools-rust · delta-kernel-rust-sharing-wrapper · puccinialin · chia-rs · clvm-rs · cibuildwheel · Nuitka · kenbun · runtime-builder