Reqstool Python Decorators
Description
This provides decorators and collecting of decorated code, formatting it and writing to yaml file.
Installation
The package name is reqstool-decorators.
- Using pip install:
$pip install reqstool-decorators
Using
pyproject.toml
- Hatch
dependencies = [
"reqstool-decorators == <version>"
]
- Poetry
[tool.poetry.dependencies]
reqstool-decorators = "<version>"
Decorators
Import decorators:
from reqstool-decorators.decorators.decorators import Requirements, SVCs
Example usage of the decorators:
@Requirements(REQ_111, REQ_222)
def somefunction():
@SVCs(SVC_111, SVC_222)
def test_somefunction():
Processor
Import processor:
from reqstool.processors.decorator_processor import ProcessDecorator
Main function to collect decorators data and generate yaml file:
process_decorated_data(path_to_python_files)
Here path_to_python_files is the directories to search through to find decorated code.
Note:
Yaml file is saved into the /dist folder, make sure the folder exists before running the process_decorated_data function.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Metadata
Release files for reqstool-python-decorators 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reqstool_python_decorators-0.0.3.tar.gz | 9.2 kB | Without provenance | Details for reqstool_python_decorators-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reqstool_python_decorators-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for reqstool_python_decorators-0.0.3-py3-none-any.whl |
Total release size: 15.5 kB
Release files / reqstool_python_decorators-0.0.3.tar.gz
| Download URL | reqstool_python_decorators-0.0.3.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfddfb7048a54dc905023c38cbd47de5ef50b31356d955eb58ee4806ca65e583
|
|
BLAKE2b-256 checksum How to use checksums |
f86c926b1f835613e57f83488d16b7efa8bdcf5b6d8c1753066136f5e54efc0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / reqstool_python_decorators-0.0.3-py3-none-any.whl
| Download URL | reqstool_python_decorators-0.0.3-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93dd56905c2e88263c2985e116da3197cdc1b4daca83545042f07faa788c11c2
|
|
BLAKE2b-256 checksum How to use checksums |
6244b615754920091b0c8ca787489878f657d8578b7a5294730d82f5ac40a397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for reqstool-python-decorators 0.0.3
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.