available production of the project nuitka 1.1 developing a compiler for translating scripts in the Python language in the representation of C, which can then be compiled to the executable file that uses Libpython to ensure maximum compatibility with CPYTHON (CPYTHON standard means to control objects). Complete compatibility with the current issues of Python 2.6, 2.7, 3.3 – 3.10 is provided. Compared to Cpython, compiled scripts demonstrate in the Pystone test increase by 335%. Project code is distributed under the license Apache.
Among changes in the new version:
- The possibilities of configuration in YAML format are expanded.
- Optimizations associated with the exclusion of unused components of the standard library (Zoneinfo, Concurrent, Asyncio, etc.), which allowed to reduce the size of the resulting executable files.
- Added support for alternative syntax (“|”) in comparisons with a model based on the “Match” operator, which appeared in the Python 3.10 branch
- Compatibility with Jinja2.packageloader.
- The possibility of changing the size of the attribute __defaults __.
- Added support for Importlib.metadata.distribution, Importlib_metadata.distribution, Importlib.metadata.metadata and Importlib_Metadata.metadata.
- In the compilation mode of one file (Onefile), support for inclusion in the main executable file of additional binary files is added.
- In compiled modules, the possibility of using the Importlib.Resources.files.
- In the option “–Include-Package-DATA” is allowed to specify file masks, for example, “–Include-Package-DATA = PACKAGE_NAME =*. TXT”.
- For MacOS, support for the certification of executable files with a digital signature is implemented.
- For plugins, a method is provided for reducing functions for the executable file.
- The capabilities of the Anti-Bloat plugin are expanded, which can now be used to reduce the number of packages when using libraries Rich, Pyrect and Pytorch. Implemented the possibility of using regular expressions in the replacement rules.
- Removable regressive changes that have become the result of significant optimizations implemented in the last issue.
function.
/Media reports.