CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 02:06:50 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"1f1d77b79cbb29ff722d464b3f6cd02a"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=O5G1cKxS4XphZ8GZqXQS0uui0jJNCS3j3W8UvEkdeXW1a5HYR%2FuVYsUf8HqDFSX3Kl2z1jz5RRnbYWK%2F%2Fo33ryWgoprR11XWjaWyiuY3VAcKY2TUd5Wa9So%2FRzhSjYojatuQWgKwj74L3qzvVwSReAcRgJ4ZekTp8yj2QwWyr1ZZprjuds0ZpWPey%2BwKyVxcL0EgLlc5Q7CdrmjfgspKoUvu3w2z7Q4%2BDCJOSWSFp4drF5hEbV38tUZOJLaOnkvTSSGM0DiXW23czDgE4M8DYA%3D%3D--pWtE9zO2vvkChJf%2F--8RcfpwhxV9UgWUNPmJT5IQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.668094528.1752890809; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 02:06:49 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 02:06:49 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BABC:2DAD44:2A164E:3AE6E0:687AFDB9
Home · cython/cython Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Home
scoder edited this page May 7, 2020
·
10 revisions
This is a wiki for anything related to the Cython or Pyrex projects.
Cython 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.
Development of Cython is partly motivated by the needs of SAGE.
See our proposals for the Google Summer of Code 2011.
- The Cython FAQ
- Release History and older versions.
- Documentation
- Example (Mandelbrot fractal)
- Bug and Feature Tracker
- Git Repository (and Change Log)
- Differences between Cython and Pyrex
- Unsupported Python features (aka TODO list)
- Hacker-Guide: How to work on the Cython compiler itself
- Enhancement proposals (CEPs)
- Projects using Cython
- Comparison with SWIG
- Automatic .pxd/.pyx generation from C or C++ header files.
-
PyPi via
easy_install
or pip - Gentoo Ebuild
- Debian package (not always up to date)
- Installing Cython on Windows
- Getting started
- Using early binding techniques to improve speed
- Writing Cython programs in pure Python
- Helpful notes for wrapping C++ APIs
- Discussion of all the options how to wrap C/C++ code to Python
- WritingFastPyrexCode
- Successful creation of a hierarchy of modules in a package
- One method for source-level debugging
- Dynamic Memory Allocation (malloc, realloc, free)
- Profiling
- Building a Windows Installer
- Embedding Python to create standalone Cython programs.
- List Subclass Example Adding mathematical operations to subclassed built-in list.
- Working with Numpy
Stefan Behnel, Robert Bradshaw, Dag Seljebotn, Lisandro Dalcin.
Our development mailing list is cython-dev and user mailing list at https://groups.google.com/group/cython-users.
In the past we also used a Google group and a list at BerliOS Developer. You can still read the archives at Gmane.
- Fully supported easy-to-use test suite, including the normal CPython test suite.
- Easy installation and usage.
- Rich, accessible documentation. Make sure the examples are plenty and can be automatically tested.
- Make Cython part of the standard distribution of Python (like ctypes).
- Compile all Python code except for possibly some obvious exclusions, which will be worked out by developers.
- Very fast when the user explicitly declares types (but we're not going to make promises with type inference). Precise benchmarks.
- Mitigate or eliminate the need for users to invoke the Python/C API directly without sacrificing performance.
- See https://docs.cython.org/.
- Official Pyrex Language Overview (note the changes though).
- Extension Types
- Sharing Declarations Between Pyrex Modules
- FAQ
- Quick Guide to Pyrex from Michael JasonSmith.
- CategoryCythonDoc lists pages that are related to Cython documentation.
- Pure Python mode
- SAGE Days 4 talk highlighting some of the differences between Pyrex and SageX (the predecessor of Cython).
You can’t perform that action at this time.