# serge-sans-paille/pythran

Ahead of Time compiler for numeric kernels

Repository: https://github.com/serge-sans-paille/pythran
Canonical: https://ross.abutalabs.com/products/pythran
Homepage: https://pythran.readthedocs.io
Language: C++
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-22T19:39:32+00:00

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

## Adoption (not part of the score)
Stars 2141, forks 202 (observed 2026-08-28T04:06:18.407981+00:00)

## What it is
Pythran is an ahead-of-time compiler that translates a subset of Python, focused on scientific computing with NumPy, into fast native C++ extension modules. It exploits multi-core parallelism and SIMD instructions to accelerate numeric kernels while preserving the original Python module interface.

## Use cases
- speed up numpy-heavy python code
- compile python numeric kernels to native extensions
- accelerate scientific computing functions
- vectorize python loops with SIMD
- parallelize python computations across cores
- build fast python modules without writing C++

## When to choose
- you have numeric/scientific Python code that is too slow
- you want native speed without hand-writing C++ or Cython
- your code uses NumPy expressions and pure-Python numeric kernels
- you want automatic SIMD and multi-core optimization

## When to avoid
- your code relies on arbitrary Python objects, dynamic features, or non-numeric libraries
- you need JIT compilation or interactive acceleration of full Python programs
- you target platforms with weak C++ toolchain support

## Facets
- artifact type: cli-tool
- maturity: active
- function: compiler, machine-learning, math
- domain: compilers, performance
- platform: python, windows, cpp
- tags: ahead-of-time-compilation, numpy, simd, python-to-c++, numeric-kernels, compiler, scientific-computing, linux, macos

## Member repositories
- serge-sans-paille/pythran (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:18.407981+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-30T08:31:59.129508+00:00, confidence not recorded.
  - readme: https://github.com/serge-sans-paille/pythran (fetched 2026-08-28T04:06:18.407981+00:00, sha c37ba49d1b2c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
