Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Parse C++ header files and generate a data structure representing the class

Project description

[![Build Status](](

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 don’t currently intend to develop new features, but aim to maintain compatibility with the existing code and make improvements and bugfixes as we need them.

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).


pip install robotpy-cppheaderparser


[See the examples](CppHeaderParser/examples).


BSD License


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.

Files for robotpy-cppheaderparser, version 3.0.2
Filename, size File type Python version Upload date Hashes
Filename, size robotpy_cppheaderparser-3.0.2-py3-none-any.whl (43.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size robotpy-cppheaderparser-3.0.2.tar.gz (50.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page