Metadata-Version: 2.1
Name: pyreq-merger
Version: 0.0.3
Summary: Merge 2 requirement files into a single file, using the specified method.
Home-page: https://github.com/mhristodor/pyreq-merger
Author: mhristodor
Author-email: minumh99@gmail.com
License: MIT
Project-URL: Documentation, https://github.com/mhristodor/pyreq-merger/blob/main/README.md
Project-URL: Source, https://github.com/mhristodor/pyreq-merger
Project-URL: Tracker, https://github.com/mhristodor/pyreq-merger/issues
Project-URL: Author, https://www.linkedin.com/in/mihail-hristodor-1174b2177/
Project-URL: Funding, https://www.buymeacoffee.com/m.hristodor
Keywords: requirements merge tool
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: markdown-it-py ==3.0.0
Requires-Dist: mdurl ==0.1.2
Requires-Dist: pydocstyle ==6.3.0
Requires-Dist: Pygments ==2.16.1
Requires-Dist: rich ==13.5.3
Requires-Dist: snowballstemmer ==2.2.0

# 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` 

```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.```
