Reqstool Python Decorators
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reqstool_python_decorators-0.1.0.tar.gz.
File metadata
- Download URL: reqstool_python_decorators-0.1.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c810db0e2c7a4dac82ba7af53481fb8eda342af494f033e241b0d5ffc9f35ad1
|
|
| MD5 |
6419d26c22dfc3816230cd67941ea106
|
|
| BLAKE2b-256 |
e1afdcc5f52674d3120f71251a91eba4c4622e91057b9b14ed513746fa0e9cea
|
Provenance
The following attestation bundles were made for reqstool_python_decorators-0.1.0.tar.gz:
Publisher:
publish_pypi_prod.yml on reqstool/reqstool-python-decorators
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reqstool_python_decorators-0.1.0.tar.gz -
Subject digest:
c810db0e2c7a4dac82ba7af53481fb8eda342af494f033e241b0d5ffc9f35ad1 - Sigstore transparency entry: 1058425824
- Sigstore integration time:
-
Permalink:
reqstool/reqstool-python-decorators@d2d825ca051f445b8ea152ccf2318ed705cf9a9e -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/reqstool
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi_prod.yml@d2d825ca051f445b8ea152ccf2318ed705cf9a9e -
Trigger Event:
release
-
Statement type:
File details
Details for the file reqstool_python_decorators-0.1.0-py3-none-any.whl.
File metadata
- Download URL: reqstool_python_decorators-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a12819da88fd3a39b1eda27671f00c61dc925f9a1bb88b15ff5e90c576563498
|
|
| MD5 |
e02ec787e7b8f4ffb42f018258718c7a
|
|
| BLAKE2b-256 |
366566fe8b1ce9400d465cb342bb5b542acf8130653cb9d6ffc34e21bbf4b589
|
Provenance
The following attestation bundles were made for reqstool_python_decorators-0.1.0-py3-none-any.whl:
Publisher:
publish_pypi_prod.yml on reqstool/reqstool-python-decorators
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reqstool_python_decorators-0.1.0-py3-none-any.whl -
Subject digest:
a12819da88fd3a39b1eda27671f00c61dc925f9a1bb88b15ff5e90c576563498 - Sigstore transparency entry: 1058425829
- Sigstore integration time:
-
Permalink:
reqstool/reqstool-python-decorators@d2d825ca051f445b8ea152ccf2318ed705cf9a9e -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/reqstool
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi_prod.yml@d2d825ca051f445b8ea152ccf2318ed705cf9a9e -
Trigger Event:
release
-
Statement type: