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.20240518.0a0.tar.gz
(28.8 kB
view details)
Built Distribution
File details
Details for the file reqs_cli-0.20240518.0a0.tar.gz
.
File metadata
- Download URL: reqs_cli-0.20240518.0a0.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 | c1327e1b3d2370f42ff627199f6866037990a40f07311bca927a95e8b5e62e29 |
|
MD5 | 1d704be9435694a12bdc109ebbfdffe8 |
|
BLAKE2b-256 | 32f63acb3fec1356eb0d9e0eb482ad5560f95cac893b761997d92192e8ee505a |
Provenance
File details
Details for the file reqs_cli-0.20240518.0a0-py2.py3-none-any.whl
.
File metadata
- Download URL: reqs_cli-0.20240518.0a0-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 | 10e62a135187ff59149c6a57c0a136c05e37546c6e466c2a6105545d201a0c2a |
|
MD5 | e07dca718a591872eef215358d98e25f |
|
BLAKE2b-256 | 59cb3ad9e32df246354f2a2ab4a158525e1cff66211459892b47e5be9606806c |