Skip to content

An utility to pack multiple .pxd files into a single Cython extension

License

Notifications You must be signed in to change notification settings

smok-serwis/snakehouse

Repository files navigation

snakehouse

Build status Code Climate Issue Count PyPI PyPI version PyPI PyPI Documentation Status License

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.