Skip to main content

Sphinx tools for OpenQASM

LicenseReleaseDownloads

This repository provides the Python package openqasm-sphinx, which provides a Sphinx extension for documentation OpenQASM 2 and 3 code.

Installation and use

Install the latest release of openqasm-sphinx package from pip:

pip install openqasm-sphinx

This will automatically install all the dependencies as well (Sphinx, for example) if they are not already installed.

To activate the extension add openqasm_sphinx to your extensions list in your Sphinx conf.py file, such as:

project = "My Project"
author = "Me"
version = "1.0"

extensions = [
    "openqasm_sphinx",
]

There is no need to import the extension; Sphinx will ahndle this automatically.

Developing

If you're looking to contribute to this project, please first read our contributing guidelines.

Set up your development environment by installing the development requirements with pip:

pip install -r requirements-dev.txt tox

This installs a few more packages than the dependencies of the package at runtime.

After the development requirements are installed, you can install an editable version of the package with

pip install -e .

After this, any changes you make to the library code will immediately be present when you open a new Python interpreter session, or build a Sphinx project that depends on this project.

License

This project is licensed under version 2.0 of the Apache License. This is a Qiskit project.

Metadata

Release files for openqasm-sphinx 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openqasm-sphinx 0.1.0
File Size Uploaded Provenance
openqasm-sphinx-0.1.0.tar.gz 9.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for openqasm-sphinx 0.1.0
File Interpreter ABI Platform
openqasm_sphinx-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 kB

Release files / openqasm-sphinx-0.1.0.tar.gz

Download URL openqasm-sphinx-0.1.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
33dbfdbf74d73d87e1afe8055f00351d89f955d6cf45c310ddb44b68d830a998
BLAKE2b-256 checksum
How to use checksums
7c82e8e9cc5d472cc8b814263fcad0339714455f312584f0875275ee0d52445c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / openqasm_sphinx-0.1.0-py3-none-any.whl

Download URL openqasm_sphinx-0.1.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d8ec847fa72dcb59009b637961a5dc78b4188d6ac741ba116225fef498567b4
BLAKE2b-256 checksum
How to use checksums
d7f1d328d722eb8adf60df065106c7fec7301efa6dce98ffd4a51ee9175b9162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.2

Security for openqasm-sphinx 0.1.0

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