Skip to content


Subversion checkout URL

You can clone with
Download ZIP


robertwb edited this page · 1 revision
Clone this wiki locally

The easiest way to get started with Cython is to write your code in Python and then compile it with Cython. It also helps to look at examples, which are numerous (for example, over 100,000 lines in the [ Sage source code])

Most Python code will compile, though there are currently a few [:Unsupported: exceptions] to watch out for.

Once you have code running, you can make it faster by using the "cdef" keyword to declare types.

See the [ slides] given at Sage days 7 for a simple overview and some examples.

Something went wrong with that request. Please try again.