Hatch plugin to process reqstool-python-decorators when building with Hatch
Project description
Description
This documentation provides information on how to use the Reqstool Hatch Plugin. The plugin is designed to be used with the Hatch build tool and facilitates the integration of the Reqstool Decorators in your project.
Installation
To use the Reqstool Hatch Plugin, follow these steps:
- Update your project dependencies in the
pyproject.tomlfile and ensure that the Reqstool Decorators' dependency is listed as follows;
dependencies = ["reqstool-python-decorators == <version>"]
When you declare this in the pyproject.toml file, you are specifying the required versions for the dependency of the Reqstool Decorators. This ensures that the correct version of the dependencies are used when installing and running your project.
Usage
Configuration
The plugin can be configured through the pyproject.toml file. Configure plugin in pyproject.tomlas follows;
[tool.hatch.build.hooks.reqstool]
dependencies = ["reqstool-python-hatch-plugin == <version>"]
sources = ["src", "tests"]
dataset_directory = "docs/reqstool"
output_directory = "build/reqstool"
test_results = ["build/**/junit.xml"]
It specifies that the reqstool-python-hatch-plugin is a dependency for the build process, and it should be of a specific version.
Further it defines the paths where the plugin should be applied. In this case, it specifies that the plugin should be applied to files in the src and tests directories.
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_hatch_plugin-0.1.3.tar.gz.
File metadata
- Download URL: reqstool_python_hatch_plugin-0.1.3.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04149b08f4ccaf168098436e80da0a9387a3a635d94caecc21167f395550e3cf
|
|
| MD5 |
4c1a11cee268949d9241ade9364e239e
|
|
| BLAKE2b-256 |
aa560057e18095ad43b0a43e9ca05ac3b7fc91d91a4bd3af37514c5268729e6d
|
Provenance
The following attestation bundles were made for reqstool_python_hatch_plugin-0.1.3.tar.gz:
Publisher:
publish_pypi_prod.yml on luftfartsverket/reqstool-python-hatch-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reqstool_python_hatch_plugin-0.1.3.tar.gz -
Subject digest:
04149b08f4ccaf168098436e80da0a9387a3a635d94caecc21167f395550e3cf - Sigstore transparency entry: 191788401
- Sigstore integration time:
-
Permalink:
luftfartsverket/reqstool-python-hatch-plugin@06713caeab4e313b9e83b4229ce807f9d89812d0 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/luftfartsverket
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi_prod.yml@06713caeab4e313b9e83b4229ce807f9d89812d0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file reqstool_python_hatch_plugin-0.1.3-py3-none-any.whl.
File metadata
- Download URL: reqstool_python_hatch_plugin-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b5fb02cb7ff4ed1cd668458ede4835b2ec49091e77a92482e6c3b9ab4abccb5
|
|
| MD5 |
d216de43101641dfb5b56d8953f1a0be
|
|
| BLAKE2b-256 |
186da40e81a37c782b93ae643905c1851f0a50db04bb152ab198dab018b8a1ee
|
Provenance
The following attestation bundles were made for reqstool_python_hatch_plugin-0.1.3-py3-none-any.whl:
Publisher:
publish_pypi_prod.yml on luftfartsverket/reqstool-python-hatch-plugin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reqstool_python_hatch_plugin-0.1.3-py3-none-any.whl -
Subject digest:
5b5fb02cb7ff4ed1cd668458ede4835b2ec49091e77a92482e6c3b9ab4abccb5 - Sigstore transparency entry: 191788402
- Sigstore integration time:
-
Permalink:
luftfartsverket/reqstool-python-hatch-plugin@06713caeab4e313b9e83b4229ce807f9d89812d0 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/luftfartsverket
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi_prod.yml@06713caeab4e313b9e83b4229ce807f9d89812d0 -
Trigger Event:
release
-
Statement type: