Skip to main content

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-tools
  • reqs 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


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.2.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

reqs_cli-0.20240517.2-py2.py3-none-any.whl (10.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file reqs_cli-0.20240517.2.tar.gz.

File metadata

  • Download URL: reqs_cli-0.20240517.2.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for reqs_cli-0.20240517.2.tar.gz
Algorithm Hash digest
SHA256 acaa636138bda9ea7f6ab08c7e809f969b73a87fb6f809ef028f316a1af6eac2
MD5 90e996269100fa956c5df54ae5127efa
BLAKE2b-256 5da4fcefb4f2bbe87e8f4060983225ff662b02e05f0c9afdd9d443c2d45c22b5

See more details on using hashes here.

Provenance

File details

Details for the file reqs_cli-0.20240517.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for reqs_cli-0.20240517.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6aa8e4a95e6be683b1dda52acfd95c032c309fe2a38b5e99dbbc71be34ea9ca0
MD5 69ef73686c3fccfe32af17b93f65c5cd
BLAKE2b-256 23c517dd6cf56553fb5ed42e0e93a68c4ffa034c79873a04353b7cdcf4fa47e2

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page