🍺 BREW Explorer

← all formulae

maturin

brew install maturin v1.14.1 Apache-2.0 OR MIT

Build and publish Rust crates as Python packages

598
30-day installs · #1634
1.7k
90-day · #1706
7.9k
365-day · #1577
5.7k
★ GitHub stars · updated 2mo ago

Runtime dependencies

xz

Build dependencies

GitHub topics

cffi cpython cross-compile hacktoberfest manylinux packaging pyo3 pypi pypy python uniffi wheels

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "pkgconf",
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "xz"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Build and publish Rust crates as Python packages",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:35+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "maturin",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-20T02:23:15Z",
  "github_readme_excerpt": "# Maturin\n\n_formerly pyo3-pack_\n\n[![Maturin User Guide](https://img.shields.io/badge/user-guide-brightgreen?logo=readthedocs\u0026style=flat-square)](https://maturin.rs)\n[![Crates.io](https://img.shields.io/crates/v/maturin.svg?logo=rust\u0026style=flat-square)](https://crates.io/crates/maturin)\n[![PyPI](https://img.shields.io/pypi/v/maturin.svg?logo=python\u0026style=flat-square)](https://pypi.org/project/maturin)\n[![discord server](https://img.shields.io/discord/1209263839632424990?logo=discord\u0026style=flat-square)](https://discord.gg/33kcChzH7f)\n\nBuild and publish crates with [pyo3, cffi and uniffi bindings](https://maturin.rs/bindings) as well as rust binaries as python packages with minimal configuration.\nIt supports building wheels for python 3.8+ on Windows, Linux, macOS and FreeBSD, can upload them to [pypi](https://pypi.org/) and has basic PyPy and GraalPy support.\n\nCheck out the [User Guide](https://maturin.rs/)!\n\n## Usage\n\nYou can either download binaries from the [latest release](https://github.com/PyO3/maturin/releases/latest) or install it with [pipx](https://pypa.github.io/pipx/) or [uv](https://github.com/astral-sh/uv):\n\n```shell\n# pipx\npipx install maturin\n# uv\nuv tool install maturin\n```\n\n\u003e [!NOTE]\n\u003e\n\u003e `pip install maturin` should also work if you don\u0027t want to use pipx.\n\nThere are three main commands:\n\n- `maturin new` creates a new cargo project with maturin configured.\n- `maturin build` builds the wheels and stores them in a folder (`target/wheels` by default), but doesn\u0027t upload them. It\u0027s recommended to publish packages with [uv](https://github.com/astral-sh/uv) using `uv publish`.\n- `maturin develop` builds the crate and installs it as a python module directly in the current virtualenv. Note that while `maturin develop` is faster, it doesn\u0027t support all the feature that running `pip install` after `maturin build` supports.\n\nmaturin doesn\u0027t need extra configuration files and doesn\u0027t clash with an existing setuptools-rust configuration.\nYou can even integrate it",
  "github_repo": "PyO3/maturin",
  "github_stars": 5659,
  "github_topics": [
    "cffi",
    "cpython",
    "cross-compile",
    "hacktoberfest",
    "manylinux",
    "packaging",
    "pyo3",
    "pypi",
    "pypy",
    "python",
    "uniffi",
    "wheels"
  ],
  "homepage": "https://github.com/PyO3/maturin",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 598,
  "installs_365d": 7930,
  "installs_90d": 1734,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0 OR MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "maturin",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 1634,
  "rank_365d": 1577,
  "rank_90d": 1706,
  "raw_hash": "15bcaa9eb3155865",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/m/maturin.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "rust",
    "python@3.14"
  ],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "1.14.1",
  "versioned_formulae": [],
  "why_use_this": null
}