Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

Cython

3.3.2ActivePythie’s Index: 88

The Cython compiler for writing C extensions in the Python language.

Actively maintained. Last release 4 days ago, commits in 26 of the last 26 weeks. A safe choice.

Performance & Low-level
$pip install cython
cython/cythonHomepageDocsPyPI
The Cython language makes writing C extensions for the Python language as easy as Python itself. Cython is a source code translator based on Pyrex_, but supports more cutting edge functionality and optimizations. The Cython language is a superset of the Python language (almost all Python code is also valid Cython code), but Cython additionally supports optional static typing to natively call C functions, operate with C++ classes and declare fast C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code. This makes Cython the ideal language for writing glue code for external C/C++ libraries, and for fast C modules that speed up the execution of Python code. The newest Cython release can always be downloaded from https://cython.org/. Unpack the tarball or zip file, enter the directory, and then run:: pip install . Note that for one-time builds, e.g. for CI/testing, on platforms that are not covered by one of the wheel packages provided on PyPI *and* the pure Python wheel that we provide is not used, it is substantially faster than a full source build to install an uncompiled (slower) version of Cython with:: NO_CYTHON_COMPILE=true pip install . .. _Pyrex: https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ 3.3.2 (2026-11-25) ================== Bugs fixed ---------- * Since Cython 3.3.0, parallel code following a ``prange()`` for-loop could start executing before all loop iterations had finished. Patch by Arthur Lacote. (Github issue https://github.com/cython/cython/issues/8120) * A race condition in the auto-pickle code was fixed for freethreading builds. (Github issue https://github.com/cython/cython/issues/8107) * ``None`` default values passed into optimised string methods (as start/end position) were mishandled and let the call fail. (Github issue https://github.com/cython/cython/issues/8098) * Decoding bytes literals in place crashed Cython. Patch by 0z5a. (Github issue https://github.com/cython/cython/issues/8134) * ``cython.collection_type()`` did not work in PyPy. (Github issue https://github.com/cython/cython/issues/8133) * Warnings about "implicit ``__init__.py`` creation" in Bazel builds were resolved. Patch by David Sanderson. (Github issue https://github.com/cython/cython/issues/8132) * ``Errors.close_listing_file()`` failed to clear the echo file reference, allowing later writes to closed files. Patch by Lumír Balhar. (Github issue https://github.com/cython/cython/issues/8128) Other changes ------------- * Limited API builds now explicitly use the ``Py_IncRef()`` / ``Py_DecRef()`` functions instead of the respective macros to make it safer to use modules built for old Limited API versions in CPython 3.14 and later. (Github issue https://github.com/cython/cython/issues/8125) * Cythonizing under GraalPython now avoids parallel jobs by default to limit the memory usage. Patch by Michael Šimáček. (Github issue https://github.com/cython/cython/issues/8143)

Popularity

Downloads / month
98.8M
GitHub stars
10.9K
Downloads, last 7 days
20.4M-16%
Stars, last 7 days
–
Direct dependents
2K
All dependents
3.6K

Pythie’s Index

How it works
88

Healthy

Maintenance, out of 100

  • Recent release

    last release 3 days ago

  • Commit activity

    26/26 weeks with commits

  • Release cadence

    13 releases in 12 months

  • Issues & PRs handled

    60% closed in the past year

  • Contributor spread

    20 authors in last 100 commits

  • OpenSSF Scorecard

    4.4/10

Commits, last 26 weeks512

Releases

Latest
3.3.2
Released
Nov 25, 2026
Releases, 12 months
13
First release
Aug 31, 2007

Compatibility

Requires Python
>=3.9
Tested on
3.9 · 3.10 · 3.11 · 3.12 · 3.13 · 3.14
License
Apache-2.0 (Permissive)

Keywords

pythoncythoncpythoncpython-extensionsccppperformancebig-data

Alternatives

Use instead of Cython: tools that do the same job, closest first.

Compare with pybind11 →Compare with nanobind →Compare with numba →Compare all 4 →

  • pybind113.1.0ActivePythie’s Index: 81

    Seamless operability between C++11 and Python

    Performance & Low-level18K19.5M/moReleased Aug 6, 2026
  • nanobind3.1.0ActivePythie’s Index: 84

    nanobind: tiny and efficient C++/Python bindings

    Performance & Low-level3.8K2.7M/moReleased Sep 18, 2026
  • numba0.68.1ActivePythie’s Index: 87

    compiling Python code using LLVM

    Performance & Low-levelScientific Computing11.2K73.6M/moReleased Oct 27, 2026
  • pythran0.19.0ActivePythie’s Index: 67

    Ahead of Time compiler for numeric kernels

    Performance & Low-levelScientific Computing2.1K626.3K/moReleased Aug 17, 2026
  • swig4.5.1ActivePythie’s Index: 84

    SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.

    Performance & Low-levelPackaging & Build Tools241.1M/moReleased Oct 8, 2026

Works well with

Use together with Cython: extensions, drivers, servers and companion tools.

  • cytoolzPythie’s Index: 45Cython implementation of Toolz: High performance functional utilities9.9M downloads/mo
  • cymemPythie’s Index: 52Manage calls to calloc/free through Cython24.7M downloads/mo
  • blisPythie’s Index: 52The Blis BLAS-like linear algebra library, as a self-contained C-extension.24.9M downloads/mo
  • preshedPythie’s Index: 55Cython hash table that trusts the keys are pre-hashed24.7M downloads/mo
  • meson-pythonPythie’s Index: 85The Python build backend for Meson projects9.9M downloads/mo
  • cyvcf2Pythie’s Index: 68fast vcf parsing with cython + htslib178.7K downloads/mo