https://github.com/smok-serwis/snakehouse
An utility to pack multiple .pxd files into a single Cython extension
https://github.com/smok-serwis/snakehouse
cython multiple pyx
Last synced: 9 months ago
JSON representation
An utility to pack multiple .pxd files into a single Cython extension
- Host: GitHub
- URL: https://github.com/smok-serwis/snakehouse
- Owner: smok-serwis
- License: mit
- Created: 2020-03-15T19:27:15.000Z (about 6 years ago)
- Default Branch: develop
- Last Pushed: 2024-08-10T07:22:59.000Z (almost 2 years ago)
- Last Synced: 2025-09-01T10:11:12.519Z (9 months ago)
- Topics: cython, multiple, pyx
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 12
- Watchers: 0
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
snakehouse
==========

[](https://codeclimate.com/github/smok-serwis/snakehouse)
[](https://codeclimate.com/github/smok-serwis/snakehouse)
[](https://pypi.python.org/pypi/snakehouse)
[](https://badge.fury.io/py/snakehouse)
[](https://pypi.python.org/pypi/snakehouse)
[]()
[](http://snakehouse.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/smok-serwis/snakehouse)
**IMPORTANT!**
Since for now we've lost our PyPI access, please install the packages in a following way:
```
pip install git+https://github.com/smok-serwis/snakehouse.git
```
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](https://stackoverflow.com/questions/30157363/collapse-multiple-submodules-to-one-cython-extension).
Tested and works on CPython 3.5-3.12,
both Windows and [Linux](https://travis-ci.org/github/smok-serwis/snakehouse).
It doesn't work on PyPy due to lack of
`PyModule_FromDefAndSpec` symbol.
READ BEFORE YOU USE
===================
Be sure to read the [docs](http://snakehouse.readthedocs.io/en/latest/)
before you start using it.