[Cython][] is a Python-like language that makes it easy to write [[C]]-based extensions for [[Python]]. This is a Good Thing™, because people who will write good Python wrappers will be fluent in Python, but not necessarily in C. Alternatives like [[SWIG]] allow you to specify wrappers in a C-like language, which makes thin wrappers easy, but can lead to a less idomatic wrapper API. I should also point out [ctypes][], which has the advantage of avoiding compiled wrappers altogether, at the expense of dealing with linking explicitly in the Python code. The [Cython docs][docs] are fairly extensive, and I found them to be sufficient for writing my [[pycomedi]] wrapper around the [[Comedi]] library. One annoying thing was that Cython does not support `__all__` ([cython-users][]). I took [a stab at fixing this][github], but got sidetracked cleaning up the Cython parser ([cython-devel][], [later in cython-devel][later]). I must have bit off more than I should have, since I eventually ran out of time to work on merging my code, and the Cython trunk moved off without me ;). [Cython]: http://cython.org/ [ctypes]: http://docs.python.org/library/ctypes.html [docs]: http://docs.cython.org/ [cython-users]: http://groups.google.com/group/cython-users/browse_thread/thread/a17bb0f5e550c140 [github]: https://github.com/wking/cython/branches [cython-devel]: http://mail.python.org/pipermail/cython-devel/2011-February/000035.html [later]: http://mail.python.org/pipermail/cython-devel/2011-March/000163.html [[!tag tags/tools]] [[!tag tags/C]] [[!tag tags/Python]]