Skip to main content

Doxy-SIP

Doxy-SIP is a Sphinx plugin providing integration between Doxygen, the SIP bindings tools and Sphinx.

The itch to scratch

When writing Python compiled extensions created in C++ and SIP bindings, options to write clean and easy documentation that can be integrated in Sphinx-produced web pages are limited:

  • Using Doxygen comments in the C++ code:

    Ddocumenting an API within the C++ source files is very easy and tools such as Breathe. However, using tools such as Breathe will produce an API with C++ signature whereas Python signatures are different, omit certain C++ objects or add new ones.

  • Using Python Docstrings:

    It limits the functionalities and defeats the philosophy of writing documentation and code in the same place.

  • Manually documenting in RST files:

    Just too tedious.

Doxy-SIP attempts to resolve that by combining Doxygen output and docstring in SIP specification files to provide clear documentation about the C++ implementation, but with a Pythonic presentation.

It takes as input:

  • A Doxygen output in XML format documenting C++ code.

  • A SIP project file (pyproject.toml) defining the bindings for the same C++ code.

It defines a new Sphinx domain (sip) and directives to semi-automatically (à la sphinx.ext.autodoc) add documentation on objects defined in the bindings specification files.

Installation

Breathe is available from github and PyPI <https://pypi.org/project/doxy-sip/>. It can be installed with:

pip install doxysip

Documentation

Short documentation - <https://github.com/clesav/doxy-sip/blob/main/DOCUMENTATION.rst>.

Requirements

Doxy-SIP requires Python 3.9+, Sphinx 7.2+, Doxygen 1.9.2+ and SIP 6.13+

Acknowledgements

Metadata

Release files for doxysip 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 doxysip 0.2
File Size Uploaded Provenance
doxysip-0.2.tar.gz 22.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 43.2 kB

Release files / doxysip-0.2.tar.gz

Download URL doxysip-0.2.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
867d4741541e2afa82743e4f8600fc732f2662ee37ebc707f643ccdf9f225073
BLAKE2b-256 checksum
How to use checksums
343896dd9dd56f51deaccfa9ad02045c13fb7966c4838f731060240daa2a2ac9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / doxysip-0.2-py3-none-any.whl

Download URL doxysip-0.2-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5e9332a302b785b30d721e72c00535d6b1de99e724e1821096ada4222677247
BLAKE2b-256 checksum
How to use checksums
2b69718e7379d7cfb0af0107ff2e67205bf9939428a81ad3c9c5becfdafe6d31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for doxysip 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.2 This release

2 release files No provenance

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