macOS
brew install pythranlocal Homebrew formula metadata
brew / 順位 5519
pythran のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install pythranlocal Homebrew formula metadata
sudo apk add pythranAlpine Linux edge package indexes · pythran · ソース: dl-cdn.alpinelinux.org
sudo dnf install pythranFedora Rawhide package metadata · pythran · ソース: dl.fedoraproject.org
sudo apt install python-pythran-docDebian stable package indexes · python-pythran-doc · ソース: deb.debian.org
概要
Ahead of Time compiler for numeric kernels
履歴
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.
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++.
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.
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.
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
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.
Config paths the tool may read or write during local use.
~/.pythranrc$XDG_CONFIG_HOME/.pythranrc.pythranrc実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
pythran | cli | グローバル実行可能ファイル | |
pythran-config | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://pythran.readthedocs.io/
インストールメタデータ
| パッケージキー | brew:pythran |
|---|---|
| バージョン | 0.19.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/pythran |
| ホームページ | https://pythran.readthedocs.io/ |
| リポジトリ | https://github.com/serge-sans-paille/pythran |
| 上流ドキュメント | https://pythran.readthedocs.io/ |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://files.pythonhosted.org/packages/bb/a3/03098a8a5d2c9f801c227cf941d85976934f5f47307ef3d819734370acdc/pythran-0.19.0.tar.gz |
| 最終更新 | 2026-10-25T08:40:43Z |
| Pulse | updated |
| 依存関係 | boost, numpy, openblas, python@3.15, xsimd |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pythran |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-docpython3-pythran 0.17.0+ds-1
ahead of time compiler for Python
https://github.com/serge-sans-paille/pythran
sudo apt install python3-pythranpython-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-docpython3-pythran 0.15.0+ds-2
ahead of time compiler for Python
https://github.com/serge-sans-paille/pythran
sudo apt install python3-pythranpythran 0.18.1-r1
Ahead of Time compiler for numeric kernels
https://github.com/serge-sans-paille/pythran
sudo apk add pythranpythran-pyc 0.18.1-r1
Precompiled Python bytecode for pythran
https://github.com/serge-sans-paille/pythran
sudo apk add pythran-pycpythran 0.19.0-1.fc46
Ahead of Time Python compiler for numeric kernels
https://github.com/serge-sans-paille/pythran
sudo dnf install pythranソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.