Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Python to C compiler
Python C HTML C++ JavaScript Emacs Lisp Other
Pull request Compare This branch is 4536 commits behind master.
Failed to load latest commit information.
Cython 0.16
Demos more typing and finalisation in richerds benchmark
Doc fixed wrong example-code
Tools cython-mode now works with python-mode and the builtin python package
bin moved cythonrun implementation into Cython/Build/BuildExecutable.py t…
docs
pyximport support for compiling __init__.py in pyximport, plus some minor cleanups
tests Test for vtable mangling.
.gitignore Ignores generated *.elc files in git submodules.
.hgignore added *.o to ignored files
.hgtags Added tag 0.14 for changeset 15bf34c93874
COPYING.txt Fix COPYING.txt.
INSTALL.txt Remove trailing whitespace.
LICENSE.txt Fixes the lineends in LICENSE.txt
MANIFEST.in Move buffer utilities, fix manifest and package data for utilities
Makefile Fix make repo.
README.txt Fix hg/git in readme.
ToDo.txt Remove trailing whitespace.
USAGE.txt Remove trailing whitespace.
cygdb.py Made tests less verbose by not using distutils.core.setup + skip debu…
cython.py Make cython.py executable and add Unix shebang
runtests.py fix exception during OpenMP detection in test runner for non-gcc
setup.py do not compile Cython itself outside of CPython
setupegg.py Optional setuptools-based cython build

README.txt

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
optimizations.

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.

LICENSE:

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

    https://github.com/cython/cython



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
welcome!

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

The latest version of Pyrex can be found here:

http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/

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         +--------------------------------------+
Something went wrong with that request. Please try again.