easyreq-1.2.0
توضیحات
Test package
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | easyreq-1.2.0 |
| نام | easyreq |
| نسخه کتابخانه | 1.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Krzysztof Janiszewski |
| ایمیل نویسنده | krzychu.janiszewski@gmail.com |
| آدرس صفحه اصلی | https://kjaniszewski.pl |
| آدرس اینترنتی | https://pypi.org/project/easyreq/ |
| مجوز | MIT |
# EasyReq
### Python package for easy `requirements.txt` file generating or altering
pip install easyreq
easyreq --help
## Project searching
It will find all packages imports used in files in project, check installed version of the package using `pip freeze` and generate `requirements.txt` file based on that
**If you want to search current directory you are in**
:/home/user/projectName$ easyreq
**Or you can specify a path to a project you want to use it for**
:/home/user/projectName$ easyreq /home/user/someOtherProjectName/
## Altering already existing requirements.txt
If a package in rquirements has specified version (eg. `urllib3==1.25.7`) it will be changed as a minimum (eg. `>=1.25.7`) and added a maximum one version higher (eg. `<2`)
If a package has no version specified it will try to find installed one using `pip freeze` and add it as a minimum and add a maximum one version higher
**In order to alter `requirements.txt` file**
:/home/user/projectName$ easyreq /home/user/projectName/requirements.txt
Or
:/home/user/projectName$ easyreq requirements.txt
نیازمندی
| مقدار | نام |
|---|---|
| >=1.1 | argparse |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3 | Python |
نحوه نصب
نصب پکیج whl easyreq-1.2.0:
pip install easyreq-1.2.0.whl
نصب پکیج tar.gz easyreq-1.2.0:
pip install easyreq-1.2.0.tar.gz