# PyO3/maturin

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

Repository: https://github.com/PyO3/maturin
Canonical: https://ross.abutalabs.com/products/maturin
Homepage: https://maturin.rs
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: pyo3, python, wheels, cpython, packaging, pypi, cffi, pypy, uniffi, cross-compile, manylinux, hacktoberfest
Last push: 2026-08-24T17:02:50+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 2965, "days_push": 9, "days_rel": 9, "gap_med": 7, "n_releases_24m": 42}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5772, forks 430 (observed 2026-08-28T04:09:29.470667+00:00)

## What it is
Maturin is a Rust-based CLI tool that builds and publishes Python wheels for crates with pyo3, cffi, or uniffi bindings, as well as Rust binaries packaged as Python packages. It requires minimal configuration and supports CPython 3.8+, PyPy, and GraalPy across Windows, Linux, macOS, and FreeBSD.

## Use cases
- build python wheels from rust crates
- publish a pyo3 extension module to pypi
- compile rust code as a python package
- cross-compile rust wheels for manylinux
- develop rust python extensions in a virtualenv
- package rust binaries as pip-installable packages

## When to choose
- you're writing Python extensions in Rust with pyo3, cffi, or uniffi
- you want minimal-config wheel building and PyPI publishing
- you need cross-compilation or manylinux-compliant wheels
- you target CPython, PyPy, or GraalPy across multiple OSes

## When to avoid
- you're building pure-Python packages with no Rust code
- your extension is written in C/C++ (use setuptools or scikit-build instead)
- you need deep integration with setuptools-rust-based build pipelines

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, package-manager, compiler, cli
- domain: developer-tools, programming-languages, cross-platform
- platform: rust, python, windows, cli, cross-platform
- tags: pyo3, python-packaging, wheels, pypi, cffi, uniffi, manylinux, cross-compilation, pypy, linux, macos

## Member repositories
- PyO3/maturin (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:29.470667+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:52:54.091724+00:00, confidence not recorded.
  - readme: https://github.com/PyO3/maturin (fetched 2026-08-28T04:09:29.470667+00:00, sha 3c9ca00871c9)
  - homepage: https://maturin.rs (fetched 2026-08-29T08:48:15.930523+00:00, sha 49cb25118c46)
  - site_page: https://www.maturin.rs/installation (fetched 2026-08-29T08:48:15.933575+00:00, sha d8dee137bf02)
- Data as of 2026-08-30T08:39:29.467469+00:00.
