reqs
Helps with Python requirements (reqs) files:
reqs bootstrap:- Install uv (default) or upgrade pip & install pip-tools to active venv
- Ensures reqs will compile lock files using the version of Python the project is using
reqs compile:- Compile .in reqs files into .txt "lock" files
- Considers file modification times and file dependencies (when -r or -c used)
reqs sync:- Compile (default, optional)
- Sync active virtualenv with lock files
- When "sync_pipx" is true: will make the project's scripts available on the local system by installing/upgrading as an editable package with pipx.
Install
Intended to be installed at the user level, not per app.
pipx install reqs-cli(recommended)[uv] pip install --user reqs-cli
Configuration
Configure using pyproject.toml:
# The options shown are the default values and DO NOT need to be specified
# if the default is sufficient.
[tool.reqs]
# Path to the directory containing the .in and .txt requirements files. Relative to pyproject.toml.
dpath = 'requirements'
# Use pipx to install an editable version of the project. True for tools like reqs and env-config
# that a developer would want available for different projects. False for most client projects
# deployed on servers.
sync_pipx = false
Development
- Can be updated from copier-py-package
hatch run copier:update: latest tagged version in GitHubhatch run copier:update-head: head of master in GitHub
- Release:
mise run bump [-- --help]to update version, tag, and push to GitHub- GitHub workflow does the rest
Metadata
Release files for reqs-cli 0.20240711.2
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 |
|---|---|---|---|---|
| reqs_cli-0.20240711.2.tar.gz | 30.3 kB | Without provenance | Details for reqs_cli-0.20240711.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reqs_cli-0.20240711.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for reqs_cli-0.20240711.2-py2.py3-none-any.whl |
Total release size: 44.2 kB
Release files / reqs_cli-0.20240711.2.tar.gz
| Download URL | reqs_cli-0.20240711.2.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9fa3e1943911295d4360ffe2b98f36e464c2455476718c566d639b8c41f30ae7
|
|
BLAKE2b-256 checksum How to use checksums |
22ed463a4b7f11189711f508765104f2426113b104c9cbbf1ad13db261afbf90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / reqs_cli-0.20240711.2-py2.py3-none-any.whl
| Download URL | reqs_cli-0.20240711.2-py2.py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0c1e54b32d075368cccd24785ab094f15ccbefab3e7fe6238fdaba206c4c1e5a
|
|
BLAKE2b-256 checksum How to use checksums |
ad29ffd6bdb8cd820906ff4b158358e879044a928efce1873ddc8f3615ff646e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for reqs-cli 0.20240711.2
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.