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

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.1
File Size Uploaded Provenance Actions
reqstool_python_decorators-0.0.1.tar.gz 9.0 kB Without provenance Details for reqstool_python_decorators-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 15.1 kB

Release files / reqstool_python_decorators-0.0.1.tar.gz

Download URL reqstool_python_decorators-0.0.1.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
abe872fd6889d9db2dfde25951a4029bab4f28b4689081a093b3450d197e8a09
BLAKE2b-256 checksum
How to use checksums
b6f510b39a1df603995132e6a2c1397ce63f53fde1cfcd92554d0e00bf96421a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

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

Download URL reqstool_python_decorators-0.0.1-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57b1182b9eb54faa1ef2801e8f9f708495b3d558dcc0cb8dabb789526d8fef00
BLAKE2b-256 checksum
How to use checksums
d40a1bf84a54fe499225fad67874e5a34f45e6b456846ce0b875a0f206ef3332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Security for reqstool-python-decorators 0.0.1

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.

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