# 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.```
Raw data
{
"_id": null,
"home_page": "https://github.com/mhristodor/pyreq-merger",
"name": "pyreq-merger",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "",
"keywords": "requirements merge tool",
"author": "mhristodor",
"author_email": "minumh99@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d1/0c/708fa7548a45582811e7d2f0c2eea1e1c5a2f91e03d0f50a70b9661347f5/pyreq-merger-0.0.3.tar.gz",
"platform": null,
"description": "# pyreq-merger\r\n\r\nMinimal tool used for merging 2 requirement files into a single one by either upgrading or downgrading the package versions.\r\n\r\n#### Installation\r\n\r\nUsing pip inside the project directory: `pip install .`\r\nUsing pip: `pip install pyreq-merger` \r\n\r\n#### Usage Example\r\n\r\n`pyreq file1 file2 --method downgrade --output mynewreq.txt` \r\n\r\nOutput is a new requirement file with the specified name in the current working directory.\r\n\r\n#### Notes \r\n\r\nFor a full list of available parameters use `pyreq -h` \r\n\r\n```pyreq -h\r\nusage: pyreq [-h] [-v] [-m {upgrade,downgrade}] [-o OUTPUT] first_req_file second_req_file\r\n\r\nMerge 2 requirement files into a single file, using the specified method.\r\n\r\npositional arguments:\r\n first_req_file First file containing requirements\r\n second_req_file Second file containing requirements\r\n\r\noptions:\r\n -h, --help show this help message and exit\r\n -v, --version Displays version then quit\r\n -m {upgrade,downgrade}, --method {upgrade,downgrade}\r\n Merge method, choose from: 'upgrade' or 'downgrade. (default: upgrade)\r\n -o OUTPUT, --output OUTPUT\r\n Output file containing merged requirements. (default: merged_requirements.txt)\r\n\r\nMade by https://github.com/mhristodor.```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Merge 2 requirement files into a single file, using the specified method.",
"version": "0.0.3",
"project_urls": {
"Author": "https://www.linkedin.com/in/mihail-hristodor-1174b2177/",
"Documentation": "https://github.com/mhristodor/pyreq-merger/blob/main/README.md",
"Funding": "https://www.buymeacoffee.com/m.hristodor",
"Homepage": "https://github.com/mhristodor/pyreq-merger",
"Source": "https://github.com/mhristodor/pyreq-merger",
"Tracker": "https://github.com/mhristodor/pyreq-merger/issues"
},
"split_keywords": [
"requirements",
"merge",
"tool"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e50ce4662dde567adc82aebf46f45c8e36d1a29b51ad34552689e3ef39bcdefd",
"md5": "f8895de901cfc26c8306ead5059a3531",
"sha256": "4348526809f1eed9d950c48187a1e1840c2989145da962b386167d052ab8e358"
},
"downloads": -1,
"filename": "pyreq_merger-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f8895de901cfc26c8306ead5059a3531",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 7293,
"upload_time": "2023-10-04T12:35:52",
"upload_time_iso_8601": "2023-10-04T12:35:52.522463Z",
"url": "https://files.pythonhosted.org/packages/e5/0c/e4662dde567adc82aebf46f45c8e36d1a29b51ad34552689e3ef39bcdefd/pyreq_merger-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d10c708fa7548a45582811e7d2f0c2eea1e1c5a2f91e03d0f50a70b9661347f5",
"md5": "8474a9971919c979f3f09a3a70e4790e",
"sha256": "f76f4073022d5232e1d50d80b919826e117a48efc984a36607de6648487e2351"
},
"downloads": -1,
"filename": "pyreq-merger-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "8474a9971919c979f3f09a3a70e4790e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 5490,
"upload_time": "2023-10-04T12:35:54",
"upload_time_iso_8601": "2023-10-04T12:35:54.214086Z",
"url": "https://files.pythonhosted.org/packages/d1/0c/708fa7548a45582811e7d2f0c2eea1e1c5a2f91e03d0f50a70b9661347f5/pyreq-merger-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-04 12:35:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mhristodor",
"github_project": "pyreq-merger",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "pyreq-merger"
}