Skip to main content
Help us improve Python packaging – donate today!

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

Project Description

The Cython language makes writing C extensions for the Python language as

easy as Python itself. Cython is a source code translator based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.

The Cython language is very close to the Python language (and most Python code is also valid Cython code), but Cython additionally supports calling C functions and declaring 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 libraries, and for fast C modules that speed up the execution of Python code.

Release history Release notifications

History Node

0.28.2

History Node

0.28.1

History Node

0.28

History Node

0.27.3

History Node

0.27.2

History Node

0.27.1

History Node

0.27

History Node

0.26.1

History Node

0.26

History Node

0.25.2

History Node

0.25.1

History Node

0.25

History Node

0.24.1

History Node

0.24

History Node

0.23.5

History Node

0.23.4

History Node

0.23.3

History Node

0.23.2

History Node

0.23.1

History Node

0.23

History Node

0.22.1

History Node

0.22

History Node

0.21.2

History Node

0.21.1

History Node

0.21

This version
History Node

0.20.2

History Node

0.20.1

History Node

0.20

History Node

0.19.2

History Node

0.19.1

History Node

0.19

History Node

0.18

History Node

0.17.4

History Node

0.17.3

History Node

0.17.2

History Node

0.17.1

History Node

0.17

History Node

0.16

History Node

0.15.1

History Node

0.15

History Node

0.14.1

History Node

0.14

History Node

0.13

History Node

0.12.1

History Node

0.12

History Node

0.11.3

History Node

0.11.2

History Node

0.11.1

History Node

0.11

History Node

0.10.3

History Node

0.10.2

History Node

0.10.1

History Node

0.10

History Node

0.9.8.1.1

History Node

0.9.8.1

History Node

0.9.8

History Node

0.9.6.14

History Node

0.9.6.13.1

History Node

0.9.6.13

History Node

0.9.6.12

History Node

0.9.6.11

History Node

0.9.6.11b

History Node

0.9.6.10.1

History Node

0.9.6.10

History Node

0.9.6.10b

History Node

0.9.6.8

History Node

0.9.6.7

History Node

0.9.6.6

History Node

0.9.6.5

History Node

0.9.6

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page