Another option - to convert to C++ besides Shed Skin - is Pythran.
To quote High Performance Python by Micha Gorelick and Ian Ozsvald:
Pythran is a Python-to-C++ compiler for a subset of Python that
includes partial numpy
support. It acts a little like Numba and
Cython—you annotate a function’s arguments, and then it takes over
with further type annotation and code specialization. It takes
advantage of vectorization possibilities and of OpenMP-based
parallelization possibilities. It runs using Python 2.7 only.
One very interesting feature of Pythran is that it will attempt to
automatically spot parallelization opportunities (e.g., if you’re
using a map
), and turn this into parallel code without requiring extra
effort from you. You can also specify parallel sections using pragma omp
> directives; in this respect, it feels very similar to Cython’s
OpenMP support.
Behind the scenes, Pythran will take both normal Python and numpy code
and attempt to aggressively compile them into very fast C++—even
faster than the results of Cython.
You should note that this project is young, and you may encounter
bugs; you should also note that the development team are very friendly
and tend to fix bugs in a matter of hours.