
Cython: C-Extensions for Python
Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex). It makes writing C extensions for …
Welcome to Cython’s Documentation — Cython 3.3.0a0 …
Getting Started Cython - an overview Installing Cython Building Cython code Faster code via static typing Tutorials Basic Tutorial Calling C functions Using C libraries Extension types (aka. …
Cython - an overview — Cython 3.3.0a0 documentation
[Cython] is a programming language that makes writing C extensions for the Python language as easy as Python itself. It aims to become a superset of the [Python] language which gives it …
Tutorials — Cython 3.3.0a0 documentation
Python string types in Cython code String literals General notes about C strings Passing byte strings Accepting strings from Python code Dealing with “const” Decoding bytes to text …
Faster code via static typing — Cython 3.3.0a0 documentation
Cython is a Python compiler. This means that it can compile normal Python code without changes (with a few obvious exceptions of some as-yet unsupported language features, see Cython …
Getting Started — Cython 3.3.0a0 documentation
This version of the documentation is for the latest and greatest in-development branch of Cython. For the last release version, see here.
Installing Cython — Cython 3.3.0a0 documentation
Many scientific Python distributions, such as Anaconda [Anaconda], Enthought Canopy [Canopy], and Sage [Sage], bundle Cython and no setup is needed. Note however that if your …
Pure Python Mode — Cython 3.3.0a0 documentation
Cython provides a fake version of this module as Cython.Shadow, which is available as cython.py when Cython is installed, but can be copied to be used by other modules when Cython is not …
Building Cython code — Cython 3.3.0a0 documentation
Run the cython command-line utility manually to produce the .c file from the .pyx file, then manually compiling the .c file into a shared object library or DLL suitable for import from Python.
Users Guide — Cython 3.3.0a0 documentation
Cython for NumPy users Cython at a glance Your Cython environment Installation Compilation The first Cython program Adding types Efficient indexing with memoryviews Tuning indexing …