Skip to main content

Test package

Project description

EasyReq

Python package for easy requirements.txt file generating or altering

pip install easyreq

easyreq --help

usage: easyreq [-h] [path]

Tool for easy requirements generating

positional arguments:
  path        path to file with requirements

optional arguments:
  -h, --help  show this help message and exit

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/requiremnts.txt

Or

:/home/user/projectName$ easyreq requiremnts.txt

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

easyreq-1.1.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

easyreq-1.1.1-py3-none-any.whl (5.1 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