Utilities for packing multiple pyx files into a single Cython extension


Keywords
cython, extension, multiple, pyx
License
MIT
Install
pip install snakehouse==1.6

Documentation

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.