sort-requirements-file
A CLI application used to sort your requirements file (requirements.txt
, poetry.toml
, ...), inspired by sort-package-json.
Install
You can install this package by cloning this repository, then run the setup.py
file, or by using pip
(the recommened way).
- Install using pip.
Open the terminal, then run this command.
pip install git+https://github.com/HigherOrderLogic/sort-requirements-file
- Install using
git
.# Clone the repository git clone https://github.com/HigherOrderLogic/sort-requirements-file.git cd sort-requirements-file # Install the package python setup.py install
Usage
Open the terminal at where you requirements file is, the run python -m sort_requirements_file
, and boom, your requirements file is sorted!
For more information on how to use the file, please see the documents.