Nuitka User Manual
Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, and 3.7. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
This document is the recommended first read if you are interested in using Nuitka, understand its use cases, check what you can expect, license, requirements, credits, etc.
It then executes uncompiled code, and compiled code together in an extremely compatible manner.
You can use all Python library modules or and all extension modules freely.
It translates the Python into a C level program that then uses libpython and a few C files of its own to execute in the same way as CPython does. All optimization is aimed at avoiding overhead, where it's unnecessary. None is aimed at removing compatibility, although slight improvements will occasionally be done, where not every bug of standard Python is emulated, e.g. more complete error messages are given, but there is a full compatibility mode to disable even that.