pkg.soopen package index

brew / rank 5519

Install pythran with Homebrew, apk, dnf, apt

Ahead of Time compiler for numeric kernels. Version 0.19.0 via Homebrew; verified 2026-10-25. Also installable with debian: sudo apt install python-pythran-doc.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install pythran

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add pythran

Alpine Linux edge package indexes · pythran · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install pythran

Fedora Rawhide package metadata · pythran · source: dl.fedoraproject.org

Debian aptverified · 92%
sudo apt install python-pythran-doc

Debian stable package indexes · python-pythran-doc · source: deb.debian.org

overview

Package summary

Ahead of Time compiler for numeric kernels

Commands and aliases

  • pythran
  • pythran-config

history

Project history and usage

Pythran is an ahead-of-time compiler for a statically analyzable subset of Python, focused on scientific and numerical kernels. It translates annotated modules into optimized native modules while preserving a Python import interface.

Project history

Pythran emerged from scientific-Python work on compiling numerical kernels without requiring developers to rewrite entire modules in C, C++, or Fortran. Its 2013 SciPy paper presented a static compiler that translates annotated Python modules into native extension modules.

The project developed into a Python-to-C++17 translator with interprocedural optimization, partial NumPy support, SIMD and multicore facilities, package-build integration, configurable compiler and BLAS settings, and an interface for producing either Python modules or raw C++.

Adoption history

Pythran remained a specialized compiler rather than a general application runtime, but it found a durable role in scientific Python. SciPy began accepting Pythran-based performance improvements and made it a default build dependency in the SciPy 1.7 development cycle, with an opt-out during the transition.

Its distribution through PyPI, conda-forge, Homebrew, and Linux distributions reflects use both as a developer-facing compiler and as build infrastructure behind native scientific-Python extensions.

How it is used

Developers add export declarations or supported type annotations to selected Python functions and invoke pythran to create an importable native module. It is best suited to numerical kernels expressible within Pythran's supported Python and NumPy subset.

Compiler, linker, optimization, and BLAS choices can be stored in .pythranrc. The documented XDG location is $XDG_CONFIG_HOME/.pythranrc, ~/.pythranrc is also documented, and PYTHRANRC can override the selected file; command-line settings take precedence.

Why package nerds care

Pythran is interesting to package maintainers because it occupies the boundary between Python source, generated C++, compiler toolchains, NumPy APIs, BLAS selection, SIMD libraries, and platform-specific extension modules. Reproducible compilation and compatibility with new CPython and NumPy releases are therefore central concerns.

Unlike a general Python interpreter, Pythran is normally a build-time accelerator: users preserve a Python-facing import interface while packaging native artifacts produced from a statically analyzable subset of the language.

Timeline

  • 2013: Pythran is presented to the SciPy community as a static compiler for scientific Python.
  • 2021: SciPy 1.7 adopts Pythran as a default build dependency with an opt-out path.
  • 2024: Pythran documents Meson integration and improved BLAS detection.
  • 2026: Pythran adds compatibility work for CPython 3.15 and continues reproducible-build improvements.

Related projects

  • NumPy: the array library and expression vocabulary used by many Pythran kernels.
  • SciPy: a scientific-computing library that incorporated Pythran into its build and optimization workflow.
  • Cython: another compiler-based route to native Python extensions, using a Python superset and optional static types.
  • CPython: the runtime into which ordinary Pythran-generated extension modules are imported.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 5 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.pythranrc$XDG_CONFIG_HOME/.pythranrc.pythranrc

executables

Installed executables

CommandKindExposureNote
pythrancliglobal executable
pythran-configcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-04
manager version0.19.0
manager updated2026-10-25
local dataok
upstreamnot checked
latest detectednot detected

https://pythran.readthedocs.io/

install metadata

Package metadata

Package keybrew:pythran
Version0.19.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/pythran
Homepagehttps://pythran.readthedocs.io/
Repositoryhttps://github.com/serge-sans-paille/pythran
Upstream docshttps://pythran.readthedocs.io/
LicenseBSD-3-Clause
Source archivehttps://files.pythonhosted.org/packages/bb/a3/03098a8a5d2c9f801c227cf941d85976934f5f47307ef3d819734370acdc/pythran-0.19.0.tar.gz
Last updated2026-10-25T08:40:43Z
Pulseupdated
Dependenciesboost, numpy, openblas, python@3.15, xsimd
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepythran
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

python-pythran-doc 0.17.0+ds-1

ahead of time compiler for Python (Documentation)

https://github.com/serge-sans-paille/pythran

sudo apt install python-pythran-doc
  • Section: doc
  • Architecture: all
  • Source Package: pythran
  • 4 dependencies
  • normalized package name match
  • Matched by: Pythran
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python-pythran-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-pythran 0.17.0+ds-1

ahead of time compiler for Python

https://github.com/serge-sans-paille/pythran

sudo apt install python3-pythran
  • Section: python
  • Architecture: amd64
  • Source Package: pythran
  • 16 dependencies
  • normalized package name match
  • Matched by: Pythran
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-pythran from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

python-pythran-doc 0.15.0+ds-2

ahead of time compiler for Python (Documentation)

https://github.com/serge-sans-paille/pythran

sudo apt install python-pythran-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: pythran
  • 4 dependencies
  • normalized package name match
  • Matched by: Pythran
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python-pythran-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-pythran 0.15.0+ds-2

ahead of time compiler for Python

https://github.com/serge-sans-paille/pythran

sudo apt install python3-pythran
  • Section: universe/python
  • Architecture: amd64
  • Source Package: pythran
  • 16 dependencies
  • normalized package name match
  • Matched by: Pythran
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-pythran from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

pythran 0.18.1-r1

Ahead of Time compiler for numeric kernels

https://github.com/serge-sans-paille/pythran

sudo apk add pythran
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pythran
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pythran
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pythran from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

pythran-pyc 0.18.1-r1

Precompiled Python bytecode for pythran

https://github.com/serge-sans-paille/pythran

sudo apk add pythran-pyc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pythran
  • 1 dependencies
  • normalized package name match
  • Matched by: Pythran
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pythran-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

pythran 0.19.0-1.fc46

Ahead of Time Python compiler for numeric kernels

https://github.com/serge-sans-paille/pythran

sudo dnf install pythran
  • License: BSD-3-Clause AND (MIT OR NCSA)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: pythran
  • 8 dependencies
  • 7 provides
  • normalized package name match
  • Matched by: Pythran
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pythran from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation