$npx skillfedfor your agent

meson-python

Meson Python build backend (PEP 517)

With conditionsPyPI Build ToolsReleased Jun 202615.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — meson_python-0.20.0-py3-none-any.whl
v0.20.0 · released 2026-06-10 · Python >=3.9 · 4 runtime deps: meson, packaging, pyproject-metadata, tomli

Yes, if you are a package developer building Python extensions and want to use Meson. The package is production-stable, actively maintained, has no known vulnerabilities, and low install friction. Not relevant for end users installing pre-built wheels; only needed during development and packaging.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Meson and Ninja to be installed on the system; intended for package developers, not end users installing pre-built wheels.
  • Low install friction with a pure-wheel distribution.
  • The package is actively maintained with a recent release and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or redistribution. Safe for both open-source and commercial projects.

last release 2026-06-10 (65 days) · last repo commit 2026-07-20 · 180 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 15,272,549 downloads/mo, #1,190 on PyPI

Verify before relying

# In pyproject.toml:
[build-system]
requires = ["meson-python", "meson", "ninja"]
build-backend = "mesonpython.build"

# Then build with:
pip install --no-build-isolation .
  • Whether Meson and Ninja installation is automatic or requires manual setup on all target platforms.
  • Performance characteristics compared to alternative build backends for typical extension modules.
  • Maturity of support for less common languages like Pythran and Fortran in practice.
Same gist for agents: .md · .json

What it is and what it does

meson-python is a build backend for Python packages that integrates the Meson build system into the PEP 517 build process. It is designed primarily for package developers who need to compile native extensions in languages like C, C++, Cython, Fortran, Pythran, or Rust. Instead of writing configuration in traditional setup files, you define your configuration in Meson's meson.build files, which meson-python then orchestrates during installation.

The package depends on meson, packaging, pyproject-metadata, and tomli. It is actively maintained, has been in production use since 2021-10-28, and carries no known security vulnerabilities. It is best suited for projects where Meson's build speed and user-friendly configuration are advantages for complex C/C++ or polyglot extension modules.

Use it for

  • Building Python packages with C or C++ extensions using Meson's faster system and cleaner configuration syntax.
  • Compiling Cython, Fortran, or Rust extensions as part of a Python package distribution.
  • Migrating to Meson for projects where compilation complexity or performance is a concern.
  • Packaging scientific libraries that combine Python with compiled numerical code.
  • Standardizing configuration across polyglot projects that already use Meson for non-Python components.

Worth the install?

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

With conditions

Yes, if you are a package developer building Python extensions and want to use Meson.

The package is production-stable, actively maintained, has no known vulnerabilities, and low install friction. Not relevant for end users installing pre-built wheels; only needed during development and packaging.

Install

meson-python on PyPI

Before you install

Low install friction with a pure-wheel distribution. The package is actively maintained with a recent release and no known vulnerabilities. Runtime dependencies are minimal and stable: meson, packaging, pyproject-metadata, tomli.

Requires Meson and Ninja to be installed on the system; intended for package developers, not end users installing pre-built wheels.

License in practice

MIT license is permissive and imposes no restrictions on use, modification, or redistribution. Safe for both open-source and commercial projects.

Quickstart

# In pyproject.toml:
[build-system]
requires = ["meson-python", "meson", "ninja"]
build-backend = "mesonpython.build"

# Then build with:
pip install --no-build-isolation .

Verify before relying

  • Whether Meson and Ninja installation is automatic or requires manual setup on all target platforms.
  • Performance characteristics compared to alternative build backends for typical extension modules.
  • Maturity of support for less common languages like Pythran and Fortran in practice.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
mesonpackagingpyproject-metadatatomli
MaintenanceActively maintained 65 days since the last release
Last repo commit
First released
Downloads15,272,549 / month, #1,190 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableProgramming Language :: PythonTopic :: Software Development :: Build Tools

Evidence: meson_python-0.20.0-py3-none-any.whl

Tags

Capabilities
python build backend mesonnative extension build systempep 517 build backendc++ python package buildmeson python compilation
Topics
build-backendnative-extensionspep517
PyPI keywords
mesonbuildbackendpep517package

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 › “python build backend meson”

  • meson-pythonmeson-python is a PEP 517 build backend that uses the Meson build…
  • mesonMeson is a build system that reads declarative meson.build…
  • spinspin is a command-line tool that abstracts common development tasks…

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 meson · pep517 · PyQt-builder · pdm-backend · poetry-core · pdm-pep517 · whey · scikit-build · pythran · spin