snakehouse
Docs are here..
IMPORTANT!
Since for now we've lost our PyPI access, please install the packages in a following way:
pip wheel --extra-index-url https://www.piwheels.org/simple snakehouse
The software works all the way from Python 3.5 to Python 3.12.
snakehouse is a tool to pack mutiple .pyx files into a single extension so that they are importable as separate Python modules inside Python.
Inspired by this StackOverflow discussion.
Tested and works on CPython 3.5-3.12, both Windows and Linux.
It doesn't work on PyPy due to lack of
PyModule_FromDefAndSpec
symbol.
READ BEFORE YOU USE
Be sure to read the docs before you start using it.