python-autopxd2
A friendly fork of autopxd https://github.com/tarruda/python-autopxd
It allows to generate .pxd
files automatically from .h
files.
Tested against:
- Python 2.7
- Python 3.4
- Python 3.6
- PEP8
installation:
pip install autopxd2
usage:
autopxd INPUT_PATH OUTPUT_PATH
Roadmap:
- Refactoring of the code DONE
- Adding tests for PEP8 DONE
- Uploading to PyPi DONE
- Check that the generated code is correct by comparing it to the libc in Cython
- More tests
- Merge it into Cython so that the
.pxd
files aren't necessary anymore? Maybe.
Please raise an issue if the generated code isn't correct.
It's difficult to catch all the corner cases.