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.0a1.tar.gz
(28.9 kB
view details)
Built Distribution
File details
Details for the file reqs_cli-0.20240518.0a1.tar.gz
.
File metadata
- Download URL: reqs_cli-0.20240518.0a1.tar.gz
- Upload date:
- Size: 28.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03aa2eb4336f7a2ad92269378e18d8282d9528864da4539025ecbde2a4a36724 |
|
MD5 | ea910d8658c4876f26189f1deac7ed4c |
|
BLAKE2b-256 | e30d5d4addbe72e47de7a32b03df06a988a6e05d364d46e4ca63d6a846f7f34a |
Provenance
File details
Details for the file reqs_cli-0.20240518.0a1-py2.py3-none-any.whl
.
File metadata
- Download URL: reqs_cli-0.20240518.0a1-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 | a44e10cc071f9ca471af84f97eb9b5f3fc1295402de1c1f6cf968b09b25b20c3 |
|
MD5 | f9f8ce88b116b28f15f53460faedf3c1 |
|
BLAKE2b-256 | 827c1dff13bdc7e41755234f36a908f131fe6ee4f34c02673f9ef02fd36b031f |