Merge 2 requirement files into a single file, using the specified method.
Project description
pyreq-merger
Minimal tool used for merging 2 requirement files into a single one by either upgrading or downgrading the package versions.
Installation
Using pip inside the project directory: pip install .
Using pip: pip install pyreq-merger
Usage Example
pyreq file1 file2 --method downgrade --output mynewreq.txt
Output is a new requirement file with the specified name in the current working directory.
Notes
For a full list of available parameters use pyreq -h
usage: pyreq [-h] [-v] [-m {upgrade,downgrade}] [-o OUTPUT] first_req_file second_req_file
Merge 2 requirement files into a single file, using the specified method.
positional arguments:
first_req_file First file containing requirements
second_req_file Second file containing requirements
options:
-h, --help show this help message and exit
-v, --version Displays version then quit
-m {upgrade,downgrade}, --method {upgrade,downgrade}
Merge method, choose from: 'upgrade' or 'downgrade. (default: upgrade)
-o OUTPUT, --output OUTPUT
Output file containing merged requirements. (default: merged_requirements.txt)
Made by https://github.com/mhristodor.```
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 pyreq-merger-0.0.3.tar.gz.
File metadata
- Download URL: pyreq-merger-0.0.3.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f76f4073022d5232e1d50d80b919826e117a48efc984a36607de6648487e2351
|
|
| MD5 |
8474a9971919c979f3f09a3a70e4790e
|
|
| BLAKE2b-256 |
d10c708fa7548a45582811e7d2f0c2eea1e1c5a2f91e03d0f50a70b9661347f5
|
File details
Details for the file pyreq_merger-0.0.3-py3-none-any.whl.
File metadata
- Download URL: pyreq_merger-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4348526809f1eed9d950c48187a1e1840c2989145da962b386167d052ab8e358
|
|
| MD5 |
f8895de901cfc26c8306ead5059a3531
|
|
| BLAKE2b-256 |
e50ce4662dde567adc82aebf46f45c8e36d1a29b51ad34552689e3ef39bcdefd
|