Skip to main content
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

Metadata

Release files for pygccxml 3.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygccxml 3.0.2
File Size Uploaded
pygccxml-3.0.2.tar.gz 129.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygccxml 3.0.2
File Interpreter ABI Platform
pygccxml-3.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 252.2 kB

Release files / pygccxml-3.0.2.tar.gz

Download URL pygccxml-3.0.2.tar.gz
Size 129.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e1a8c738765f4eb2819cc7439975631f838e59a1cf3fa49896e0a1967c5e2bee
BLAKE2b-256 checksum
How to use checksums
5eefe2752b28eb259e5ecc82dd1c4063cb0289969fae414d33445b533cc97ea3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 16, 2025.

Transparency log

Release files / pygccxml-3.0.2-py3-none-any.whl

Download URL pygccxml-3.0.2-py3-none-any.whl
Size 122.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2993d449320a4ccd1a8deb5b3bf2d9752a1af950b7352361936ea8317d6ef265
BLAKE2b-256 checksum
How to use checksums
b08b0bf5ff3b381a9435973ab3756c84e0a9db1d0b89b9902272182b2f155157
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 16, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

3.0.2 This release

2 release files

3.0.0

2 release files

2.6.1

2 release files

2.6.0

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.1

1 release file

2.2.0

1 release file

2.1.0

1 release file

2.0.1

1 release file

2.0.0

1 release file

1.9.1

1 release file

1.9.0

1 release file

1.8.6

1 release file

1.8.5

1 release file

1.8.4

1 release file

1.8.3

1 release file

1.8.2

1 release file

1.8.1

1 release file

1.8.0

1 release file

1.7.6

1 release file

1.7.5

1 release file

1.7.4

1 release file

v1.7.3

1.7.3

1 release file

v1.7.2

1.7.2

1 release file

1.7.1

2 release files

v1.7.1

v1.7.0

v1.6.2

1 release file

v1.6.1

1 release file

v1.6.0

1 release file

0.6.9

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page