No project description provided
Project description
reqs
Bootstrap, compile, and sync Python requirements files
Install
Intended to be used with pipx
- manually & first install:
pipx install -e .../apps/reqs-pkg
; or - when developing:
cd .../apps/reqs-pkg;
reqs
sync
Usage
reqs bootstrap
: Upgrade pip & install pip-toolsreqs compile
: Compile .in to .txt when needed (based on file modification times)reqs sync
: Compile and then update active venv and maybe pipx to match spec
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
[tool.reqs.depends]
# Define dependencies between files so `reqs compile` knows when a .in needs to be compiled and
# what order to use when compiling multiple files.
'base.in' = ''
'dev.in' = 'base.txt'
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.20240517.2a0.tar.gz
(28.8 kB
view details)
Built Distribution
File details
Details for the file reqs_cli-0.20240517.2a0.tar.gz
.
File metadata
- Download URL: reqs_cli-0.20240517.2a0.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7c1479ef7045246d6d60f2f1a0710f5ee031b0746a24cf3ffdc272282225f9 |
|
MD5 | f7b60050b0653279d28b0130353b1ffc |
|
BLAKE2b-256 | 8b4f487c381e882950d7021bd1583c41c828213c409f5d185384f1039e3f0849 |
Provenance
File details
Details for the file reqs_cli-0.20240517.2a0-py2.py3-none-any.whl
.
File metadata
- Download URL: reqs_cli-0.20240517.2a0-py2.py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00ba4213e5dc5265629540689b2bf7b78f7efb5746c52488c21be5523e1822fc |
|
MD5 | 6d12ab88ef0a3edb838e5862ddfb364b |
|
BLAKE2b-256 | a56c9db178d95390b8ddd0e756be814705e1149b8fcf1ced5eecde4b5f10c3b2 |