Skip to main content

Python package for easy C++ declarations navigation.

Project description

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

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

pygccxml-3.0.2.tar.gz (129.8 kB view details)

Uploaded Source

Built Distribution

pygccxml-3.0.2-py3-none-any.whl (122.3 kB view details)

Uploaded Python 3

File details

Details for the file pygccxml-3.0.2.tar.gz.

File metadata

  • Download URL: pygccxml-3.0.2.tar.gz
  • Upload date:
  • Size: 129.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pygccxml-3.0.2.tar.gz
Algorithm Hash digest
SHA256 e1a8c738765f4eb2819cc7439975631f838e59a1cf3fa49896e0a1967c5e2bee
MD5 8d79eae2dd449a76892c40210912974c
BLAKE2b-256 5eefe2752b28eb259e5ecc82dd1c4063cb0289969fae414d33445b533cc97ea3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygccxml-3.0.2.tar.gz:

Publisher: tests.yml on CastXML/pygccxml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygccxml-3.0.2-py3-none-any.whl.

File metadata

  • Download URL: pygccxml-3.0.2-py3-none-any.whl
  • Upload date:
  • Size: 122.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pygccxml-3.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2993d449320a4ccd1a8deb5b3bf2d9752a1af950b7352361936ea8317d6ef265
MD5 c5141f70ce7cbf9773d71018e782f6bb
BLAKE2b-256 b08b0bf5ff3b381a9435973ab3756c84e0a9db1d0b89b9902272182b2f155157

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygccxml-3.0.2-py3-none-any.whl:

Publisher: tests.yml on CastXML/pygccxml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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