Skip to main content

Plugin that integrates `pip-tools` with `edwh`

Project description

edwh-pipcompile-plugin

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install edwh-pipcompile-plugin

But probably you want to install the whole edwh package:

pipx install edwh[pip]
# or
pipx install edwh[plugins,omgeving]

Usage

To see all available subcommands or get help for a specific command, you can use:

edwh help pip
edwh help pip.compile

You can use pip.compile (and pip.upgrade, etc.) in multiple ways. You can run it on a specific file: ew pip.compile <myfile.in>. This will result in a myfile.txt. You can run it on a directory: ew pip.compile <mydirectory> or ew pip.compile .. This will transform all .in files into .out files (with the same name):

  • mydirectory/first.in -> mydirectory/first.txt
  • mydirectory/second.in -> mydirectory/second.txt

You can also add --combine to combine multiple .in files into a single .txt file ( called <directory>/requirements.txt).

If you want to modify this behavior, you can do so via pyproject.toml:

[tool.edwh.pipcompile.directory]
input = ["first.in", "../second.in"] # will ignore other .in files;
# transformed to directory/first.in and ./second.in
output = "output.txt" # directory/output.txt

Where 'directory' is the name of a specific folder. You can use the special symbol __cwd__ to target the project folder.

License

edwh-pipcompile-plugin is distributed under the terms of the MIT license.

Changelog

See CHANGELOG.md

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

edwh_pipcompile_plugin-0.6.1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

edwh_pipcompile_plugin-0.6.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file edwh_pipcompile_plugin-0.6.1.tar.gz.

File metadata

  • Download URL: edwh_pipcompile_plugin-0.6.1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for edwh_pipcompile_plugin-0.6.1.tar.gz
Algorithm Hash digest
SHA256 a2114ebffefac32b6364c56c4ecc2b6e739e6fcd2387b3e56cdbacf884e7ae50
MD5 a5585a9f6933767bd8cf51527404c87b
BLAKE2b-256 557c7b6441a6a5562901235b4862e56168997c9252169a933607415b89ffa4fb

See more details on using hashes here.

File details

Details for the file edwh_pipcompile_plugin-0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for edwh_pipcompile_plugin-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54cf27a1611f72683168961768995ab7625e4e0033edc88fa169c7e729bcf2c9
MD5 e9192822ad0e1b642f412ff0c0070ff7
BLAKE2b-256 1ec3cea0571741363b2d5ea0e9ed0c00eb7f1fe1dd70a0771acdf57450f27341

See more details on using hashes here.

Supported by

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