macOS
brew install cythonlocal Homebrew formula metadata
brew
Compiler for writing C extensions for the Python language. Version 3.2.8 via Homebrew; verified 2026-07-01.
install
brew install cythonlocal Homebrew formula metadata
sudo apk add cythonAlpine Linux edge package indexes · cython · source: dl-cdn.alpinelinux.org
sudo apt install cython-docDebian stable package indexes · cython-doc · source: deb.debian.org
sudo dnf install python3-cythonFedora Rawhide package metadata · python3-cython · source: dl.fedoraproject.org
sudo pacman -S cythonArch Linux sync databases · cython · source: geo.mirror.pkgbuild.com
overview
Compiler for writing C extensions for the Python language
history
Cython is an optimizing static compiler for Python and the extended Cython language. It translates Python-like code to C or C++ so developers can write CPython extension modules, wrap native libraries, and tune performance without abandoning Python syntax.
The official Cython README says Cython was originally based on Greg Ewing's Pyrex and started as an early-2000s project. Cython kept the Python-extension-module idea but grew into a long-lived compiler with its own language features, type declarations, C/C++ interop, and CPython-version adaptation.
The official site describes Cython as a superset of Python that supports C/C++ functions and types, allowing generated C code to be compiled with major C/C++ compilers. The project repository was created on GitHub in 2010 and remains the active source for compiler, docs, and tooling.
Cython became common infrastructure in the scientific Python and performance-sensitive Python ecosystem because it lets projects ship fast extension modules while retaining a Python-like development model. The official README states that Cython has more than 70 million PyPI downloads per month, which reflects broad use as a build-time dependency as well as a developer tool.
Users install Cython, write .pyx modules or use pure-Python annotation mode, and run cython or cythonize to generate C/C++ code for extension builds. Common uses include wrapping external C libraries, optimizing numerical loops, interacting with NumPy arrays, embedding CPython, and maintaining generated C sources for reproducible builds.
Cython matters to package nerds because it sits at the boundary between source packages and compiled artifacts. A missing or mismatched Cython can decide whether a Python package builds from sdist, ships generated C, or requires wheels; it is one of the quiet tools behind many fast Python libraries.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cygdb | cli | global executable | |
cython | cli | global executable | |
cythonize | cli | global executable |
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.
install metadata
| Package key | brew:cython |
|---|---|
| Version | 3.2.8 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cython |
| Homepage | https://cython.org/ |
| Repository | https://github.com/cython/cython |
| Upstream docs | https://cython.org/ |
| License | Apache-2.0 |
| Source archive | https://files.pythonhosted.org/packages/b6/6b/80101e02ebacaf9232ecf32bf6a788d36b27d820ee02434746252569ef98/cython-3.2.8.tar.gz |
| Last updated | 2026-07-01T09:53:57Z |
| Pulse | updated |
| Dependencies | python@3.14 |
| Build dependencies | python-setuptools |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cython |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cython-doc 3.0.11+dfsg-2
C-Extensions for Python 3 (Documentation)
sudo apt install cython-doccython3 3.0.11+dfsg-2+b1
C-Extensions for Python 3
sudo apt install cython3cython-doc 3.0.8-1ubuntu3
C-Extensions for Python - documentation
sudo apt install cython-doccython3 3.0.8-1ubuntu3
C-Extensions for Python 3
sudo apt install cython3cython 3.2.4-r2
Cython is an optimising static compiler for both the Python & the extended Cython programming languages.
sudo apk add cythoncython-doc 3.2.4-r2
Cython is an optimising static compiler for both the Python & the extended Cython programming languages. (documentation)
sudo apk add cython-doccython-pyc 3.2.4-r2
Precompiled Python bytecode for cython
sudo apk add cython-pycpython3-cython 3.2.4-4.fc45
Language for writing Python extension modules
sudo dnf install python3-cythoncython 3.2.5-1
C-Extensions for Python
sudo pacman -S cythonsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.