cython 3.1.4


pip install cython

  Latest version

Released: Sep 16, 2025


Meta
Author: Robert Bradshaw, Stefan Behnel, David Woods, Greg Ewing, et al.
Requires Python: >=3.8

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

License
  • OSI Approved :: Apache Software License

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy
  • Python :: Implementation :: Stackless
  • C
  • C++
  • Cython

Topic
  • Software Development :: Code Generators
  • Software Development :: Compilers
  • Software Development :: Libraries :: Python Modules

Typing
  • Typed

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 .

3.1.4 (2025-09-16)

Features added

Bugs fixed

3.1.4 Sep 16, 2025
3.1.3 Aug 13, 2025
3.1.2 Jun 09, 2025
3.1.1 May 19, 2025
3.1.0 May 08, 2025
3.1.0rc2 May 07, 2025
3.1.0rc1 Apr 30, 2025
3.1.0b1 Apr 03, 2025
3.0.12 Feb 11, 2025
3.0.11 Aug 05, 2024
3.0.10 Mar 30, 2024
3.0.9 Mar 05, 2024
3.0.8 Jan 10, 2024
3.0.7 Dec 19, 2023
3.0.6 Nov 26, 2023
3.0.5 Oct 31, 2023
3.0.4 Oct 17, 2023
3.0.3 Oct 05, 2023
3.0.2 Aug 27, 2023
3.0.1 Aug 25, 2023
3.0.0 Jul 17, 2023
3.0.0rc2 Jul 13, 2023
3.0.0rc1 Jul 12, 2023
3.0.0b3 May 24, 2023
3.0.0b2 Mar 27, 2023
3.0.0b1 Feb 25, 2023
0.29.37 Dec 19, 2023
0.29.36 Jul 04, 2023
0.29.35 May 25, 2023
0.29.34 Apr 02, 2023
0.29.33 Jan 06, 2023
0.29.32 Jul 29, 2022
0.29.31 Jul 27, 2022
0.29.30 May 17, 2022
0.29.29 May 16, 2022
0.29.28 Feb 17, 2022
0.29.27 Jan 28, 2022
0.29.26 Dec 16, 2021
0.29.25 Dec 06, 2021
0.29.24 Jul 13, 2021
0.29.23 Apr 14, 2021
0.29.22 Feb 20, 2021
0.29.21 Jul 08, 2020
0.29.20 Jun 10, 2020
0.29.19 May 20, 2020
0.29.18 May 18, 2020
0.29.17 Apr 26, 2020
0.29.16 Mar 24, 2020
0.29.15 Feb 10, 2020
0.29.14 Nov 01, 2019
0.29.13 Jul 26, 2019
0.29.12 Jul 07, 2019
0.29.11 Jun 30, 2019
0.29.10 Jun 02, 2019
0.29.9 May 29, 2019
0.29.8 May 28, 2019
0.29.7 Apr 14, 2019
0.29.6 Feb 27, 2019
0.29.5 Feb 08, 2019
0.29.4 Feb 01, 2019
0.29.3 Jan 19, 2019
0.29.2 Dec 14, 2018
0.29.1 Nov 24, 2018
0.29 Oct 14, 2018
0.28.6 Nov 01, 2018
0.28.5 Aug 03, 2018
0.28.4 Jul 08, 2018
0.28.3 May 27, 2018
0.28.2 Apr 13, 2018
0.28.1 Mar 18, 2018
0.28 Mar 13, 2018
0.27.3 Nov 04, 2017
0.27.2 Oct 22, 2017
0.27.1 Oct 01, 2017
0.27 Sep 23, 2017
0.26.1 Aug 29, 2017
0.26 Jul 20, 2017
0.25.2 Dec 08, 2016
0.25.1 Oct 27, 2016
0.25 Oct 25, 2016
0.24.1 Jul 15, 2016
0.24 Apr 05, 2016
0.23.5 Mar 26, 2016
0.23.4 Oct 10, 2015
0.23.3 Sep 29, 2015
0.23.2 Sep 11, 2015
0.23.1 Aug 22, 2015
0.23 Aug 08, 2015
0.22.1 Jun 20, 2015
0.22 Feb 12, 2015
0.21.2 Dec 27, 2014
0.21.1 Oct 18, 2014
0.21 Sep 10, 2014
0.20.2 Jun 17, 2014
0.20.1 Feb 12, 2014
0.20 Jan 18, 2014
0.19.2 Oct 13, 2013
0.19.1 May 11, 2013
0.19 Apr 19, 2013
0.18 Jan 28, 2013
0.17.4 Jan 03, 2013
0.17.3 Dec 14, 2012
0.17.2 Nov 20, 2012
0.17.1 Sep 26, 2012
0.17 Sep 01, 2012
0.16 Apr 21, 2012
0.15.1 Sep 20, 2011
0.15 Aug 05, 2011
0.14.1 Feb 04, 2011
0.14 Dec 14, 2010
0.13 Aug 25, 2010
0.12.1 Feb 02, 2010
0.12 Nov 24, 2009
0.11.3 Sep 27, 2009
0.11.2 May 20, 2009
0.11.1 Apr 16, 2009
0.11 Mar 14, 2009
0.10.3 Dec 17, 2008
0.10.2 Nov 26, 2008
0.10.1 Nov 19, 2008
0.10 Nov 09, 2008
0.9.8.1.1 Aug 19, 2008
0.9.8.1 Aug 19, 2008
0.9.8 Jun 13, 2008
0.9.6.14 May 01, 2008
0.9.6.13.1 Apr 08, 2008
0.9.6.13 Apr 05, 2008
0.9.6.12 Feb 14, 2008
0.9.6.11 Jan 17, 2008
0.9.6.11b0 Jan 18, 2008
0.9.6.10.1 Dec 31, 2007
0.9.6.10 Dec 29, 2007
0.9.6.10b0 Dec 31, 2007
0.9.6.8 Nov 01, 2007
0.9.6.7 Oct 11, 2007
0.9.6.6 Sep 12, 2007
0.9.6.5 Aug 31, 2007

Wheel compatibility matrix

Platform CPython 3.8 CPython 3.9 CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython 3.14 Python 3
any
macosx_10_13_x86_64
macosx_10_9_x86_64
macosx_11_0_arm64
manylinux1_i686
manylinux2014_aarch64
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_x86_64
manylinux_2_28_aarch64
manylinux_2_28_i686
manylinux_2_28_x86_64
manylinux_2_5_i686
musllinux_1_2_aarch64
musllinux_1_2_i686
musllinux_1_2_x86_64
win32
win_amd64

Files in release

cython-3.1.4-cp310-cp310-macosx_10_9_x86_64.whl (2.9MiB)
cython-3.1.4-cp310-cp310-macosx_11_0_arm64.whl (2.8MiB)
cython-3.1.4-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl (3.3MiB)
cython-3.1.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.1MiB)
cython-3.1.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.3MiB)
cython-3.1.4-cp310-cp310-musllinux_1_2_aarch64.whl (3.1MiB)
cython-3.1.4-cp310-cp310-musllinux_1_2_i686.whl (3.4MiB)
cython-3.1.4-cp310-cp310-musllinux_1_2_x86_64.whl (3.3MiB)
cython-3.1.4-cp310-cp310-win32.whl (2.4MiB)
cython-3.1.4-cp310-cp310-win_amd64.whl (2.6MiB)
cython-3.1.4-cp311-cp311-macosx_10_9_x86_64.whl (2.9MiB)
cython-3.1.4-cp311-cp311-macosx_11_0_arm64.whl (2.8MiB)
cython-3.1.4-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl (3.3MiB)
cython-3.1.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.0MiB)
cython-3.1.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.2MiB)
cython-3.1.4-cp311-cp311-musllinux_1_2_aarch64.whl (3.1MiB)
cython-3.1.4-cp311-cp311-musllinux_1_2_i686.whl (3.3MiB)
cython-3.1.4-cp311-cp311-musllinux_1_2_x86_64.whl (3.2MiB)
cython-3.1.4-cp311-cp311-win32.whl (2.4MiB)
cython-3.1.4-cp311-cp311-win_amd64.whl (2.6MiB)
cython-3.1.4-cp312-cp312-macosx_10_13_x86_64.whl (2.9MiB)
cython-3.1.4-cp312-cp312-macosx_11_0_arm64.whl (2.8MiB)
cython-3.1.4-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl (3.2MiB)
cython-3.1.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.0MiB)
cython-3.1.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.2MiB)
cython-3.1.4-cp312-cp312-musllinux_1_2_aarch64.whl (3.0MiB)
cython-3.1.4-cp312-cp312-musllinux_1_2_i686.whl (3.2MiB)
cython-3.1.4-cp312-cp312-musllinux_1_2_x86_64.whl (3.2MiB)
cython-3.1.4-cp312-cp312-win32.whl (2.4MiB)
cython-3.1.4-cp312-cp312-win_amd64.whl (2.6MiB)
cython-3.1.4-cp313-cp313-macosx_10_13_x86_64.whl (2.9MiB)
cython-3.1.4-cp313-cp313-macosx_11_0_arm64.whl (2.8MiB)
cython-3.1.4-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl (3.2MiB)
cython-3.1.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.0MiB)
cython-3.1.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.2MiB)
cython-3.1.4-cp313-cp313-musllinux_1_2_aarch64.whl (3.0MiB)
cython-3.1.4-cp313-cp313-musllinux_1_2_i686.whl (3.2MiB)
cython-3.1.4-cp313-cp313-musllinux_1_2_x86_64.whl (3.2MiB)
cython-3.1.4-cp313-cp313-win32.whl (2.4MiB)
cython-3.1.4-cp313-cp313-win_amd64.whl (2.6MiB)
cython-3.1.4-cp314-cp314-macosx_10_13_x86_64.whl (2.9MiB)
cython-3.1.4-cp314-cp314-macosx_11_0_arm64.whl (2.8MiB)
cython-3.1.4-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl (3.2MiB)
cython-3.1.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.0MiB)
cython-3.1.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.2MiB)
cython-3.1.4-cp314-cp314-musllinux_1_2_aarch64.whl (3.1MiB)
cython-3.1.4-cp314-cp314-musllinux_1_2_i686.whl (3.2MiB)
cython-3.1.4-cp314-cp314-musllinux_1_2_x86_64.whl (3.2MiB)
cython-3.1.4-cp314-cp314-win32.whl (2.4MiB)
cython-3.1.4-cp314-cp314-win_amd64.whl (2.6MiB)
cython-3.1.4-cp38-cp38-macosx_10_9_x86_64.whl (3.0MiB)
cython-3.1.4-cp38-cp38-macosx_11_0_arm64.whl (2.9MiB)
cython-3.1.4-cp38-cp38-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl (3.3MiB)
cython-3.1.4-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.1MiB)
cython-3.1.4-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.2MiB)
cython-3.1.4-cp38-cp38-musllinux_1_2_aarch64.whl (3.1MiB)
cython-3.1.4-cp38-cp38-musllinux_1_2_i686.whl (3.3MiB)
cython-3.1.4-cp38-cp38-musllinux_1_2_x86_64.whl (3.2MiB)
cython-3.1.4-cp38-cp38-win32.whl (2.4MiB)
cython-3.1.4-cp38-cp38-win_amd64.whl (2.6MiB)
cython-3.1.4-cp39-cp39-macosx_10_9_x86_64.whl (2.9MiB)
cython-3.1.4-cp39-cp39-macosx_11_0_arm64.whl (2.8MiB)
cython-3.1.4-cp39-cp39-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl (3.4MiB)
cython-3.1.4-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (3.1MiB)
cython-3.1.4-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (3.3MiB)
cython-3.1.4-cp39-cp39-musllinux_1_2_aarch64.whl (3.1MiB)
cython-3.1.4-cp39-cp39-musllinux_1_2_i686.whl (3.4MiB)
cython-3.1.4-cp39-cp39-musllinux_1_2_x86_64.whl (3.3MiB)
cython-3.1.4-cp39-cp39-win32.whl (2.4MiB)
cython-3.1.4-cp39-cp39-win_amd64.whl (2.6MiB)
cython-3.1.4-py3-none-any.whl (1.2MiB)
cython-3.1.4.tar.gz (3.0MiB)
No dependencies