Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
85ad9f68
Commit
85ad9f68
authored
Mar 17, 2018
by
gabrieldemarmiesse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed to rst.
parent
600b6b27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
0 deletions
+81
-0
README.rst
README.rst
+81
-0
No files found.
README.
md
→
README.
rst
View file @
85ad9f68
Welcome to Cython!
Welcome to Cython!
=================
==================
Cython is a language that makes writing C extensions for
Cython is a language that makes writing C extensions for
the Python language as easy as Python itself. Cython is based on the
the Python language as easy as Python itself. Cython is based on the
well-known Pyrex, but supports more cutting edge functionality and
well-known Pyrex, but supports more cutting edge functionality and
optimizations.
optimizations.
The Cython language is very close to the Python language, but Cython
The Cython language is very close to the Python language, but Cython
additionally supports calling C functions and declaring C types on variables
additionally supports calling C functions and declaring C types on variables
and class attributes. This allows the compiler to generate very efficient C
and class attributes. This allows the compiler to generate very efficient C
code from Cython code.
code from Cython code.
This makes Cython the ideal language for wrapping external C libraries, and
This makes Cython the ideal language for wrapping external C libraries, and
for fast C modules that speed up the execution of Python code.
for fast C modules that speed up the execution of Python code.
-
Official website: http://cython.org/
* Official website: http://cython.org/
-
Documentation: http://docs.cython.org/en/latest/
* Documentation: http://docs.cython.org/en/latest/
-
Github repository: https://github.com/cython/cython
* Github repository: https://github.com/cython/cython
-
Wiki: https://github.com/cython/cython/wiki
* Wiki: https://github.com/cython/cython/wiki
### Installation:
Installation:
-------------
If you already have a C compiler, just do
```
sh
If you already have a C compiler, just do::
pip
install
Cython
```
pip install Cython
otherwise, see
[
the installation page
](
http://docs.cython.org/en/latest/src/quickstart/install.html
)
.
otherwise, see `the installation page <http://docs.cython.org/en/latest/src/quickstart/install.html>`_.
### LICENSE:
LICENSE:
The original Pyrex program was licensed "free of restrictions" (see below).
--------
Cython itself is licensed under the permissive Apache License.
The original Pyrex program was licensed "free of restrictions" (see below).
See
[
LICENSE.txt
](
https://github.com/cython/cython/blob/master/LICENSE.txt
)
.
Cython itself is licensed under the permissive **Apache License**.
See `LICENSE.txt <https://github.com/cython/cython/blob/master/LICENSE.txt>`_.
### Get the full source history:
Note that Cython used to ship the full version control repository in its source
Get the full source history:
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:
Note that Cython used to ship the full version control repository in its source
```
sh
distribution, but no longer does so due to space constraints. To get the
make repo
full source history, make sure you have git installed, then step into the
```
base directory of the Cython source distribution and type::
The following is from Pyrex:
make repo
The following is from Pyrex:
------------------------------------------------------
------------------------------------------------------
This is a development version of Pyrex, a language
This is a development version of Pyrex, a language
for writing Python extension modules.
for writing Python extension modules.
For more info, see:
For more info, see:
Doc/About.html for a description of the language
*
Doc/About.html for a description of the language
INSTALL.txt for installation instructions
*
INSTALL.txt for installation instructions
USAGE.txt for usage instructions
*
USAGE.txt for usage instructions
Demos for usage examples
*
Demos for usage examples
Comments, suggestions, bug reports, etc. are
Comments, suggestions, bug reports, etc. are
welcome!
welcome!
Copyright stuff: Pyrex is free of restrictions. You
Copyright stuff: Pyrex is free of restrictions. You
may use, redistribute, modify and distribute modified
may use, redistribute, modify and distribute modified
versions.
versions.
The latest version of Pyrex can be found
[
here
](
http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
)
.
The latest version of Pyrex can be found `here <http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/>`_.
Greg Ewing, Computer Science Dept
| Greg Ewing, Computer Science Dept
University of Canterbury
| University of Canterbury
Christchurch, New Zealand
| Christchurch, New Zealand
greg@cosc.canterbury.ac.nz
| greg@cosc.canterbury.ac.nz
|
> A citizen of NewZealandCorp, a wholly-owned subsidiary of USA Inc.
\ No newline at end of file
A citizen of NewZealandCorp, a wholly-owned subsidiary of USA Inc.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment