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.1

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.1
File Size Uploaded Provenance
doxysip-0.1.tar.gz 22.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 43.0 kB

Release files / doxysip-0.1.tar.gz

Download URL doxysip-0.1.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
72eaf1679062594579a22cf38ff0b94ab1c7dc8a61b3e62e1a2611113cbe3a63
BLAKE2b-256 checksum
How to use checksums
b382e03965b28b0f9b44750503d086782315e8427cd073b3f4653f70097d87b0
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.1-py3-none-any.whl

Download URL doxysip-0.1-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdfc4bb46b2883d576620411512ffbdfddf14fe46641981590a6d3ec3421fdaa
BLAKE2b-256 checksum
How to use checksums
0b32be73c8e500741a322011c9392a90e99983c4586c4d2c1e970ebbcd6f1d97
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.1

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.1 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