Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyreq-merger-0.0.3.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

pyreq_merger-0.0.3-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

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