Parse C++ header files and generate a data structure representing the class
Project description
robotpy-cppheaderparser is DEPRECATED, and we are no longer updating it. We will accept pull requests that have fixes and appropriate tests, but we will no longer be making any fixes ourselves.
We highly recommend all current and future users to migrate to cxxheaderparser, which supports all the syntax that CppHeaderParser does and much much more. The parser output is very different, but it is strictly typed and hopefully easier to work with. You can find it at https://github.com/robotpy/cxxheaderparser, or try the live interactive demo at https://robotpy.github.io/cxxheaderparser/
CppHeaderParser is a pure python C++ header parser that parses C++ headers and creates a data structure that you can use to do many types of things. We’ve found it particularly useful for creating programs that generate python wrappers around existing C++ programs.
robotpy-cppheaderparser is a fork of the CppHeaderParser library originally created by @senex. CppHeaderParser is an excellent library and critical to some of the stuff we do in the RobotPy project. Unfortunately, the maintainer seems to be busy, so robotpy-cppheaderparser was born.
We aim to maintain (some) compatibility with the existing code and make improvements and bugfixes as we need them – though some decisions made early on in this code’s development means some compatibility may be broken as things get fixed.
If you find an bug, we encourage you to submit a pull request! New changes will only be accepted if there are tests to cover the change you made (and if they don’t break existing tests).
Documentation
Documentation can be found at https://cppheaderparser.readthedocs.io
Install
pip install robotpy-cppheaderparser
License
BSD License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file robotpy-cppheaderparser-5.1.1.tar.gz
.
File metadata
- Download URL: robotpy-cppheaderparser-5.1.1.tar.gz
- Upload date:
- Size: 50.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd39c58fad279f6742e0ac8a49e7ca6136b46530267aba5ac92701c5965ad0b0 |
|
MD5 | 1da306845faa45b94a0a63d1e36aae06 |
|
BLAKE2b-256 | fb0f7f8b1c883263dd533d3b709fe2b794fedb32f8184422b19c4d5ecb35a9c8 |
File details
Details for the file robotpy_cppheaderparser-5.1.1-py3-none-any.whl
.
File metadata
- Download URL: robotpy_cppheaderparser-5.1.1-py3-none-any.whl
- Upload date:
- Size: 36.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e120eb89297602c01a2cf58210ee2d259f4bbc366c6b92f5030f080334ff034d |
|
MD5 | 5f099ff85775c791bf5167eeaa3cab87 |
|
BLAKE2b-256 | af96612464bbfd4386251b93106605beee0380a0bbcfe49f992677a609d93702 |