No project description provided
Project description
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
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
reqs_cli-0.20240711.1.tar.gz
(30.3 kB
view details)
Built Distribution
File details
Details for the file reqs_cli-0.20240711.1.tar.gz
.
File metadata
- Download URL: reqs_cli-0.20240711.1.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92055344e86f4b29778ad7565696e712052d64ec8e2c0da39774d8d6e4de6606 |
|
MD5 | 5e0861891e40f6c03717583fc84ad011 |
|
BLAKE2b-256 | f2fe2e807a49c2b6fc5b9c96c24fd4a4d2c0e9152bdb210bb67cfb13b65dcd90 |
Provenance
File details
Details for the file reqs_cli-0.20240711.1-py2.py3-none-any.whl
.
File metadata
- Download URL: reqs_cli-0.20240711.1-py2.py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4754d20fb264dcc602c8db09c5b32e869b5a287bc774ae8ca6b69bfd753ef14 |
|
MD5 | 83029e8eb3a1d8ccea6f694d8ad7e559 |
|
BLAKE2b-256 | 9fe2a2ee736dbd186df318fcd9c35b120f850286f8b1d4f0c46a046053d70b4e |