pygccxml

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

Showing:

Popularity

Downloads/wk

0

GitHub Stars

99

Maintenance

Last Commit

5mos ago

Contributors

16

Package

Dependencies

6

License

Boost

Categories

Readme

pygccxml

.. image:: https://codecov.io/gh/iMichka/pygccxml/branch/develop/graph/badge.svg :target: https://codecov.io/gh/iMichka/pygccxml :alt: Code coverage status .. image:: https://readthedocs.org/projects/pygccxml/badge/?version=develop :target: http://pygccxml.readthedocs.io/en/develop/?badge=develop :alt: 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 <http://pygccxml.readthedocs.io/en/master/install.html>_.

Compatibility

pygccxml is compatible with Python 3.5, 3.6, 3.7, 3.8 and pypy3.

Documentation and examples

The documentation can be found here <http://pygccxml.readthedocs.io>, examples can be found here <http://pygccxml.readthedocs.io/en/master/examples.html>. You can also run an example JupyterLab Notebook using Binder, or view it using nbviewer:

.. Developers: See .binder/README.md for more information.

.. image:: https://mybinder.org/badge_logo.svg :target: https://mybinder.org/v2/gh/EricCousineau-TRI/pygccxml/feature-py-notebook-example?urlpath=tree/pygccxml/docs/examples/notebook/ :alt: Binder .. image:: https://img.shields.io/badge/view%20on-nbviewer-brightgreen.svg :target: https://nbviewer.jupyter.org/github/EricCousineau-TRI/pygccxml/tree/feature-py-notebook-example/docs/examples/notebook/ :alt: nbviewer

If you want to know more about the API provided by pygccxml, read the query interface <http://pygccxml.readthedocs.io/en/develop/query_interface.html> document or the API documentation <http://pygccxml.readthedocs.io/en/develop/apidocs/modules.html>.

A FAQ <http://pygccxml.readthedocs.io/en/master/faq.html>_ is also available and may answer some of your questions.

License

Boost Software License <http://boost.org/more/license_info.html>_

Contact us

For issues with pygccxml you can open an issue here <https://github.com/CastXML/pygccxml/issues/>_.

For issues with CastXML you can open an issue here <https://github.com/CastXML/CastXML>_.

You can contact us through the CastXML mailing list <http://public.kitware.com/mailman/listinfo/castxml/>_.

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 and code coverage

The builds are done using the Github Actions infrastructure.

Running the test suite is done with:

.. code-block::

python3 -m unittests.test_all

Code coverage is also available. It is automatically updated after each commit and can be found here <https://codecov.io/gh/iMichka/pygccxml>_.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial