# Installer cython avec Homebrew, apk, pacman, apt, dnf

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cython pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:cython
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install cython
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cython
```

  Preuve: Alpine Linux edge package indexes: cython from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- pacman (92%):

```sh
sudo pacman -S cython
```

  Preuve: Arch Linux sync databases: cython from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install cython-doc
```

  Preuve: Debian stable package indexes: cython-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install python3-cython
```

  Preuve: Fedora Rawhide package metadata: python3-cython from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:cython
- **Gestionnaire de paquets:** Homebrew
- **Version:** 3.2.9
- **Résumé source:** Compiler for writing C extensions for the Python language
- **Page d'accueil:** <https://cython.org/>
- **Dépôt:** <https://github.com/cython/cython>
- **Dernière mise à jour:** 2026-07-25T10:55:22Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- cygdb (alias)
- cython (alias)
- cythonize (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 3.2.9
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- Early 2000s: Cython starts as a project based on Pyrex.
- 2010: cython/cython repository created on GitHub.
- 2011: Official site links the IEEE article 'Cython: The best of both worlds'.
- 2025: Official site lists Cython 3.1.4 as a stable release.
- 2026: GitHub releases show ongoing 3.2.x and 3.3.0 alpha development.

### Related projects

- Pyrex is the predecessor named by the official README.
- CPython is the primary runtime and C API target.
- NumPy, PyPy, Pythran, mypyc, Nuitka, and Numba are related ecosystems or comparison points listed in official Cython materials.

### Sources

- <https://cython.org/>
- <https://docs.cython.org/>
- <https://docs.cython.org/en/latest/src/quickstart/overview.html>
- <https://github.com/cython/cython>
- <https://github.com/cython/cython#readme>
- <https://api.github.com/repos/cython/cython>
- <https://api.github.com/repos/cython/cython/releases?per_page=5>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - cython-doc - 3.0.11+dfsg-2: normalized package name match | Debian stable package indexes: cython-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C-Extensions for Python 3 (Documentation) | http://cython.org/
- Debian apt - cython3 - 3.0.11+dfsg-2+b1: normalized package name match | Debian stable package indexes: cython3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C-Extensions for Python 3 | http://cython.org/
- Ubuntu apt - cython-doc - 3.0.8-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: cython-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C-Extensions for Python - documentation | http://cython.org/
- Ubuntu apt - cython3 - 3.0.8-1ubuntu3: normalized package name match | Ubuntu 24.04 LTS package indexes: cython3 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C-Extensions for Python 3 | http://cython.org/
- apk - cython - 3.2.4-r2: normalized package name match | Alpine Linux edge package indexes: cython from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Cython is an optimising static compiler for both the Python & the extended Cython programming languages. | https://cython.org/
- apk - cython-doc - 3.2.4-r2: normalized package name match | Alpine Linux edge package indexes: cython-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Cython is an optimising static compiler for both the Python & the extended Cython programming languages. (documentation) | https://cython.org/
- apk - cython-pyc - 3.2.4-r2: normalized package name match | Alpine Linux edge package indexes: cython-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for cython | https://cython.org/
- dnf - python3-cython - 3.2.8-4.fc45: normalized package name match | Fedora Rawhide package metadata: python3-cython from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Language for writing Python extension modules | http://www.cython.org
- pacman - cython - 3.2.9-1: normalized package name match | Arch Linux sync databases: cython from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | C-Extensions for Python | https://cython.org


## Combined YAML source

View the package source record on GitHub. [combined/cython.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cython.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
