Skip to content

The most widely used Python to C compiler

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE.txt
Unknown
COPYING.txt
Notifications You must be signed in to change notification settings

PhillySchoolofAI/cython

This branch is 4024 commits behind cython/cython:master.

Folders and files

NameName
Last commit message
Last commit date
Mar 2, 2019
Jan 11, 2019
Feb 2, 2019
Jan 11, 2019
Jan 11, 2019
Mar 17, 2018
Mar 2, 2019
Jan 11, 2019
Mar 1, 2019
Aug 26, 2018
Sep 17, 2018
Feb 2, 2019
Sep 16, 2016
Dec 27, 2014
Sep 17, 2015
Feb 19, 2019
Oct 10, 2016
Mar 1, 2019
Jul 23, 2014
Dec 13, 2010
Jan 11, 2019
Sep 8, 2018
Jan 19, 2019
Jan 11, 2019
Dec 13, 2010
Dec 13, 2010
Jan 12, 2019
Dec 6, 2012
May 5, 2014
Jul 13, 2014
Mar 28, 2016
Feb 23, 2019
Feb 23, 2019
Jan 11, 2019
May 25, 2015
Feb 20, 2019
Dec 27, 2018
Feb 23, 2019

Repository files navigation

Welcome to Cython!

Cython is a language that makes writing C extensions for Python as easy as Python itself. Cython is based on 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.

Installation:

If you already have a C compiler, just do:

pip install Cython

otherwise, see the installation page.

License:

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

See LICENSE.txt.

Contributing:

Want to contribute to the Cython project? Here is some help to get you started.

We are currently building the next great Cython edition: Cython 3.0. You can help us make the life of Python 3.x users easier.

Get the full source history:

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

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.

Greg Ewing, Computer Science Dept
University of Canterbury
Christchurch, New Zealand
A citizen of NewZealandCorp, a wholly-owned subsidiary of USA Inc.

About

The most widely used Python to C compiler

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE.txt
Unknown
COPYING.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.9%
  • C 9.4%
  • C++ 0.4%
  • Emacs Lisp 0.2%
  • PowerShell 0.1%
  • Makefile 0.0%