pip install auto-cythonizer- π Automatically converts Python
.pyfiles into.pyxand compiles them to.so/.pydwith maximum Cython optimizations. - β‘ Caching enabled to speed up repeated builds.
- ποΈ Multi-threaded scanning of Python files for faster processing.
- π Automatic code annotation for loops and functions to leverage Cython's performance directives.
- π Missing module detection during build.
- π§ Auto-detects installed Python libraries and can fully Cythonize and rebuild them.
- π« Exclude files and folders during build using
exclude.txtor.gitignorestyle patterns, including wildcards. - π§Ή Smart cleaning system with
-cflag that removes build artifacts while keeping the target folder intact. - π¦ Wheel building and automatic installation with pip.
-t, --target TARGET π Folder to Cythonize
-o, --output OUTPUT π¦ Output directory
-i, --install π Build wheel & install
-l, --lib LIB π Cythonize installed library
-c, --clean CLEAN π§Ή Clean compiled files in folder
-x, --pyxview π View all generated .pyx files with file sizesauto-cythonizer is distributed under the terms of the MIT license.