sort-requirements-file

A package used to sort you requirements file.


License
MIT
Install
pip install sort-requirements-file==0.0.1

Documentation

sort-requirements-file

Code style: black


A CLI application used to sort your requirements file (requirements.txt, poetry.toml, ...), inspired by sort-package-json.




Table of contents
  • Install

  • Usage

  • 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.