A simple script to sort python dependencies in requirement text files.
Project description
A simple script to sort python dependencies in requirement text files.
![PyPI](https://img.shields.io/pypi/v/sort-requirements.svg) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/sort-requirements.svg)
#### Installation
Installing this tool is easily done using [pip](https://github.com/pypa/pip). Assuming pip is installed just run the following from the command line:
` $ pip install sort_requirements `
This command will download the latest version from the [Python Package Index](https://pypi.org/project/sort-requirements/) and install it to your system. More information about pip and pypi can be found here:
[install pip](https://pip.pypa.io/en/latest/installing.html)
[pypi](https://pypi.python.org/pypi)
Alternatively you can install from the distribution using the setup.py script:
` $ python setup.py install `
You could also install the [development version](https://github.com/rehandalal/sort-requirements/tarball/master#egg=sort-requirements-dev) by running the following:
` $ pip install therapist==dev `
Or simple install from a clone of the [git repo](https://github.com/rehandalal/therapist/):
` $ git clone https://github.com/rehandalal/sort-requirements.git $ mkvirtualenv sort-requirements $ pip install --editable . `
#### Usage
To use this tool simply run the following from the command line:
` $ sort-requirements my-requirements-file.txt `
Please make sure to replace my-requirements-file.txt with the path to your requirements file(s).
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
Built Distribution
Hashes for sort_requirements-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f08661794435aa756d9a5c8a2b7727a51dc73b45818d5d92769c5eeef2f078 |
|
MD5 | 78607f431795bc77aadb92ffc682c1cd |
|
BLAKE2b-256 | a735a70a8aed7032bbc827eb2fc5ae859b247cf6a6b392d29e33e3ccede74b59 |