Skip to main content

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)

[![CircleCI](https://img.shields.io/circleci/project/github/rehandalal/sort-requirements.svg)](https://circleci.com/gh/rehandalal/sort-requirements)

#### 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.python.org/pypi/sort_requirements) and install it to your system. More information about pip and pypi can be found here:

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.

Files for sort-requirements, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size sort_requirements-1.0.0-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sort_requirements-1.0.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page