Skip to main content

Commit Activity GitHub Issues License Build Static Badge

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-python-decorators.

  • Using pip install:
$pip install reqstool-python-decorators 

Usage

pyproject.toml

  • Hatch
dependencies = [
    "reqstool-python-decorators == <version>"
]
  • Poetry
[tool.poetry.dependencies]
reqstool-python-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 DecoratorProcessor

Main function to collect decorators data and generate yaml file:

process_decorated_data(path_to_python_files, output_file)

path_to_python_files is the directories to search through to find decorated code.

(Optional) output_file is output file(path) the yaml file is stored to. Default is /build/reqstool/annotations.yml.

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.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reqstool-python-decorators 0.0.9
File Size Uploaded Provenance Actions
reqstool_python_decorators-0.0.9.tar.gz 8.9 kB With provenance Details for reqstool_python_decorators-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reqstool-python-decorators 0.0.9
File Interpreter ABI Platform Actions
reqstool_python_decorators-0.0.9-py3-none-any.whl Python 3 none any Details for reqstool_python_decorators-0.0.9-py3-none-any.whl

Total release size: 15.2 kB

Release files / reqstool_python_decorators-0.0.9.tar.gz

Download URL reqstool_python_decorators-0.0.9.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7d396a75c1e42d2d221db334d609136e3e7134a93a73eced9bb08c27b4b78829
BLAKE2b-256 checksum
How to use checksums
6d353a0c50bc6eb802ef3e8027b774df27e918d28a9a2e1e0b185d1a58676e10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 29, 2026.

Transparency log

Release files / reqstool_python_decorators-0.0.9-py3-none-any.whl

Download URL reqstool_python_decorators-0.0.9-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8540df6584df840a8369e0e7d99a929a6fdde97adc8814d05b275429d753de10
BLAKE2b-256 checksum
How to use checksums
dbcbf01e058d046478fd5245b465ebc2f809e88e0dde23aa3184e8d9eafd7821
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 29, 2026.

Transparency log

Security for reqstool-python-decorators 0.0.9

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for reqstool_python_decorators-0.0.9.tar.gz

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 Jan 29, 2026.

Transparency log

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.

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