A Python to C compiler
Python C HTML C++ JavaScript Emacs Lisp Other
Latest commit 8b4b796 Aug 24, 2016 @robertwb robertwb Fix stack declaration.
Failed to load latest commit information.
Cython Fix stack declaration. Aug 24, 2016
Demos add micro-benchmark for PEP 492 coroutines Jul 28, 2016
Doc adapt some line endings to standard Unix style Jul 15, 2016
Tools rename "jedi-typer.py" script to "jedityper.py" to make it importable… Jul 30, 2015
appveyor AppVeyor: Update config file and install script Oct 1, 2015
bin add script "bin/pcython" to run Cython with a Python-like command lin… Aug 18, 2016
docs Fix documentation for cppclass static methods. Aug 24, 2016
pyximport whitespace fixes Nov 14, 2015
tests STL class value types. Aug 24, 2016
.gitignore make git ignore MANIFEST file Jul 15, 2016
.hgignore extend .hgignore Oct 12, 2013
.hgtags Added tag 0.21.2 for changeset ab1a3afb8775 Dec 27, 2014
.mailmap Add initial .mailmap file. Sep 17, 2015
.travis.yml temporarily undo last commit, in case travis doesn't have it Jul 30, 2016
2to3-fixers.txt restrict 2to3 usage to Python 3.2 (which does not support the u'' str… Jul 26, 2015
CHANGES.rst Update changes. Aug 24, 2016
COPYING.txt Clarify license position with respect to compilation output. Jul 23, 2014
INSTALL.txt Remove trailing whitespace. Dec 13, 2010
LICENSE.txt Fixes the lineends in LICENSE.txt Feb 9, 2009
MANIFEST.in include *.hpp test files in sdist Sep 13, 2015
Makefile allow passing test options into "make test" Aug 18, 2016
README.txt Fix hg/git in readme. Feb 25, 2011
ToDo.txt Remove trailing whitespace. Dec 13, 2010
USAGE.txt Remove trailing whitespace. Dec 13, 2010
appveyor.yml AppVeyor: Exclude failing tests Oct 6, 2015
cygdb.py scripts with shebangs <-> executable + uniform use of #!/usr/bin/env … Dec 6, 2012
cython.py make `%load_ext cython` still valid May 5, 2014
cythonize.py globally install "cythonize" script Jul 13, 2014
pylintrc allow "scanner.sy" as attribute name in pylint Mar 28, 2016
runtests.py Fix more directive default references. Jul 28, 2016
setup.py make it clearer that wheels are even better than faster source builds Apr 1, 2016
setupegg.py Fix open mode in setupegg.py wrapper script May 25, 2015
tox.ini Fix CFLAGS environ in tox config Jun 8, 2015


Welcome to Cython!

Cython (http://cython.org) 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

The Cython language is very close to the Python language, 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 wrapping external C libraries, and
for fast C modules that speed up the execution of Python code.


The original Pyrex program was licensed "free of restrictions" (see
below).  Cython itself is licensed under the permissive

   Apache License

See LICENSE.txt.


Note that Cython used to ship the full version control repository in its source
distribution, but no longer does so due to space constraints.  To get the
full source history, make sure you have git installed, then step into the
base directory of the Cython source distribution and type

    make repo

Alternatively, check out the latest developer repository from


The following is from Pyrex:
This is a development version of Pyrex, a language
for writing Python extension modules.

For more info, see:

    Doc/About.html for a description of the language
    INSTALL.txt    for installation instructions
    USAGE.txt      for usage instructions
    Demos          for usage examples

Comments, suggestions, bug reports, etc. are

Copyright stuff: Pyrex is free of restrictions. You
may use, redistribute, modify and distribute modified

The latest version of Pyrex can be found here:


Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,          | A citizen of NewZealandCorp, a       |
Christchurch, New Zealand          | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz         +--------------------------------------+