Skip to main content

sphinx-covsight

Author a verification plan as a Sphinx document, and extract it as a covsight testplan v1 artifact that is deterministic and byte-stable.

.. feature:: Baud rate generation
   :id: FEAT-002

   The transmitter and receiver derive their bit clock from a programmable
   divisor.

   .. covers:: rule:UART_3_2_1, rdl:uart.CTRL.BAUD_DIV

   .. env:: ip_simulation
      :scope: block
      :difficulty: 3
      :coverage: 8

      .. testpoint:: All supported divisor values
         :stage: V2
         :priority: high

         Sweep the divisor across every supported baud rate.

         .. tests:: uart_baud_{baud}_test

The document is what a reviewer reads; the extracted testplan.json is what a tool walks. Verification policy (approach, reasoning, exit criteria, scoring) lives in conf.py, so changing policy is a one-line diff rather than an edit across every feature.

Both reStructuredText and MyST/Markdown are supported by the same directive implementations.

Install

pip install sphinx-covsight

Optional citation backends, each independently optional:

pip install "sphinx-covsight[sv]"    # sv: citations, via sphinx-systemverilog
pip install "sphinx-covsight[rdl]"   # rdl: citations, via sphinx-peakrdl

Use

# conf.py
extensions = ["sphinx_covsight"]
covsight_plan_name = "uart"
covsight_needs_json = "_spec/needs.json"
covsight_env_policy = {...}
sphinx-build -b html plan/ _build/html      # renders the plan, writes testplan.json
covsight-testplan build plan/ -o testplan.json
covsight-testplan check plan/ --against testplan.json

See docs/ for the full guides, and docs/example/ for a worked project.

Licence

Apache-2.0

Metadata

Release files for sphinx-covsight 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 sphinx-covsight 0.1.0
File Size Uploaded Provenance
sphinx_covsight-0.1.0.tar.gz 154.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 199.5 kB

Release files / sphinx_covsight-0.1.0.tar.gz

Download URL sphinx_covsight-0.1.0.tar.gz
Size 154.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6588527fe7bbd96f2fd85dbde35693c41a1da9d6943cda729e40274c9d724d92
BLAKE2b-256 checksum
How to use checksums
bcab4cae537ae9d5e18d6972f10bd68f98e29da14a02af10655610756b2905a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

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

Download URL sphinx_covsight-0.1.0-py3-none-any.whl
Size 45.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9daed8196e3ec05fb1993371d9d7c94fd34c6d48fdc64e36382b07a41eb0180c
BLAKE2b-256 checksum
How to use checksums
1b9b2b4c3d4fc9b1ec64055b006811f52eefdeecc70f52c5b1af127b9bd4458e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for sphinx-covsight 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.

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