Skip to main content

Commit Activity GitHub Issues License Build Documentation

Reqstool Python Decorators

Python decorators for reqstool requirements traceability. Provides @Requirements and @SVCs decorators for linking Python code to requirements and software verification cases.

Prerequisites

  • Python >= 3.13

Installation

pip install reqstool-python-decorators

Usage

from reqstool_python_decorators.decorators.decorators import Requirements, SVCs

@Requirements("REQ_111", "REQ_222")
def somefunction():
    pass

@SVCs("SVC_111", "SVC_222")
def test_somefunction():
    pass

Processor

from reqstool_python_decorators.processors.decorator_processor import DecoratorProcessor

# Collect decorators and generate annotations.yml
process_decorated_data(path_to_python_files, output_file)

Used together with the Hatch Plugin or Poetry Plugin.

Documentation

Full documentation can be found here.

Contributing

See the organization-wide CONTRIBUTING.md.

License

MIT License.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reqstool_python_decorators-0.2.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reqstool_python_decorators-0.2.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file reqstool_python_decorators-0.2.0.tar.gz.

File metadata

File hashes

Hashes for reqstool_python_decorators-0.2.0.tar.gz
Algorithm Hash digest
SHA256 aec94c04be89a2132c68ee5749eee8262ff96e647ff39837402ef8234ca8b2c0
MD5 8beff16502f69b47c0c6a33dfd913497
BLAKE2b-256 85df327423ef5bd90450edf54c33d915bbcfb31d969ff0a8da23aee5bfeeb18a

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqstool_python_decorators-0.2.0.tar.gz:

Publisher: release.yml on reqstool/reqstool-python-decorators

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reqstool_python_decorators-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for reqstool_python_decorators-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ce85aa3bc6d9877750c29088611c23655f2dda5280c04219c8bd7e45ee9f3e5
MD5 7c16430be55abf3c6206e27a0f0cdc50
BLAKE2b-256 2860bf2c30954645953f627f03c2460e3c4567cddc736b6a021471dd429198fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for reqstool_python_decorators-0.2.0-py3-none-any.whl:

Publisher: release.yml on reqstool/reqstool-python-decorators

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

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