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.
Metadata
Release files for reqstool-python-decorators 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reqstool_python_decorators-0.2.0.tar.gz | 19.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reqstool_python_decorators-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.2 kB
Release files / reqstool_python_decorators-0.2.0.tar.gz
| Download URL | reqstool_python_decorators-0.2.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aec94c04be89a2132c68ee5749eee8262ff96e647ff39837402ef8234ca8b2c0
|
|
BLAKE2b-256 checksum How to use checksums |
85df327423ef5bd90450edf54c33d915bbcfb31d969ff0a8da23aee5bfeeb18a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency logRelease files / reqstool_python_decorators-0.2.0-py3-none-any.whl
| Download URL | reqstool_python_decorators-0.2.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ce85aa3bc6d9877750c29088611c23655f2dda5280c04219c8bd7e45ee9f3e5
|
|
BLAKE2b-256 checksum How to use checksums |
2860bf2c30954645953f627f03c2460e3c4567cddc736b6a021471dd429198fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 23, 2026.
Transparency log