A Cython Walkthrough


Upvotes: DownVotes:
Age: 11 months     Page Views: 1037
Votes / View: 10    Wilson Score: 0.72

Speed up your Python and link it with C Cython is a tool that can convert regular Python modules, or Python with some additional syntax, into C extension modules that can be imported from regular Python code. This provides a significant speed improvement on most code, and additionally allows the direct use of C functions within your code. In this talk I plan to run through three use cases for Cython and how these have helped me in projects that are either speed-sensitive or need to intermix with external C projects. The talk should be suitable for anyone with good basic knowledge of regular Python or better -- cursory knowledge of C is useful but not needed.