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 Provenance Actions
pygccxml-3.0.2.tar.gz 129.8 kB With provenance Details for pygccxml-3.0.2.tar.gz

Built distribution (wheel)

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

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

Security for pygccxml 3.0.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pygccxml-3.0.2.tar.gz

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

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.2 This release

2 release files Full provenance

v1.7.3

v1.7.2

v1.7.1

v1.7.0

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