C-Extensions for Python

Cython is a language that makes writing C extensions for the Python language as easy as Python itself.

Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.

Development of Cython is mainly motivated by the needs of SAGE.


People: Stefan Behnel, Robert Bradshaw, and William Stein

Download Cython 0.9.6.3 (released 2007-07-29; Python Software Foundation License)

Bug and Feature Tracker

FAQ

Mailing Lists

  1. We often use the Pyrex mailing list.
  2. We also have a Google group, which we will soon phase out in favor of this the berliOS list.

Project Goals

  1. Fully supported easy-to-use test suite: (see this post).
  2. EasyInstall support
  3. Put all the official Pyrex documentation into a latex document, clean it up, and augment it with discussion of all Cython-specific extensions. Make sure the examples are plentify and can be automatically tested.
  4. Make Cython part of the standard distribution of Python (like ctypes).
  5. Cython should be able to compile all Python code except for some obvious exclusions, which will be worked out by developers.
  6. Very fast when the user explicitly declares types (but we're not going to do too much with type inference). Precise benchmarks.