Skip to main content

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

Authors

Originally developed by Jashua Cloutier, this fork is maintained by the RobotPy project.

Past contributors include:

  • Jashua Cloutier

  • Chris Love

  • HartsAntler

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotpy-cppheaderparser-5.1.2.tar.gz (51.2 kB view details)

Uploaded Source

Built Distribution

robotpy_cppheaderparser-5.1.2-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file robotpy-cppheaderparser-5.1.2.tar.gz.

File metadata

File hashes

Hashes for robotpy-cppheaderparser-5.1.2.tar.gz
Algorithm Hash digest
SHA256 15d350b39358b45cdb1fe138af9efcce0e632c1b58830a1ba1ba098a1752698b
MD5 6065ef653e8b9b9a3415d32cc211e656
BLAKE2b-256 e0daac49b10bd57976931729d26b75ac8d7b20f4975aa1100e34cf307146f894

See more details on using hashes here.

File details

Details for the file robotpy_cppheaderparser-5.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for robotpy_cppheaderparser-5.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e77a334de80e9f39776356d2feabe8418f67954240e9bee83ce94593aaa1ef5
MD5 b50f354e270e2f80f4be91040a49e310
BLAKE2b-256 b2d6e62a4c62c98013ec882810844f69f15a38e744bc2d1187e2ecda05252ff3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page