Skip to content

pygccxml is a specialized XML reader that reads the output from CastXML. It provides a simple framework to navigate C++ declarations, using Python classes.

License

Notifications You must be signed in to change notification settings

CastXML/pygccxml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

26f63dc · Mar 16, 2025
Feb 11, 2025
Mar 16, 2025
Feb 26, 2025
Mar 4, 2025
Feb 26, 2025
Jan 14, 2017
Feb 22, 2021
May 2, 2016
May 6, 2024
Mar 16, 2025
Jun 5, 2014
Feb 19, 2015
Jun 26, 2014
Mar 16, 2025
Mar 16, 2025

Repository files navigation

pygccxml

Documentation status

pygccxml is a specialized XML reader that reads the output from CastXML. It provides a simple framework to navigate C++ declarations, using Python classes.

Using pygccxml you can:

  • Parse C++ source code
  • Create a code generator
  • Generate UML diagrams
  • Build code analyzers
  • ...

Installation

Install instructions can be found here.

Compatibility

pygccxml is compatible with Python 3.9, 3.10, 3.11, 3.12, 3.13 and pypy3.

Documentation and examples

The documentation can be found here, examples can be found here. You can also run an example JupyterLab Notebook using Binder, or view it using nbviewer:

Binder nbviewer

If you want to know more about the API provided by pygccxml, read the query interface document or the API documentation.

A FAQ is also available and may answer some of your questions.

License

Boost Software License

Contact us

For issues with pygccxml you can open an issue here.

For issues with CastXML you can open an issue here.

You can contact us through the CastXML mailing list.

Branches

The stable version can be found on the master branch.

The develop branch contains the latest improvements but can be unstable. Pull Requests should be done on the develop branch.

Testing

Running the test suite is done with:

pytest tests

About

pygccxml is a specialized XML reader that reads the output from CastXML. It provides a simple framework to navigate C++ declarations, using Python classes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages