Plugin that integrates `pip-tools` with `edwh`
Project description
edwh-pipcompile-plugin
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.txtmydirectory/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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2114ebffefac32b6364c56c4ecc2b6e739e6fcd2387b3e56cdbacf884e7ae50
|
|
| MD5 |
a5585a9f6933767bd8cf51527404c87b
|
|
| BLAKE2b-256 |
557c7b6441a6a5562901235b4862e56168997c9252169a933607415b89ffa4fb
|
File details
Details for the file edwh_pipcompile_plugin-0.6.1-py3-none-any.whl.
File metadata
- Download URL: edwh_pipcompile_plugin-0.6.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54cf27a1611f72683168961768995ab7625e4e0033edc88fa169c7e729bcf2c9
|
|
| MD5 |
e9192822ad0e1b642f412ff0c0070ff7
|
|
| BLAKE2b-256 |
1ec3cea0571741363b2d5ea0e9ed0c00eb7f1fe1dd70a0771acdf57450f27341
|