Skip to main content

Sorting utilities

Project description

You can install the library with pip:

pip install nxpy-sort

Nxpy Sort provides the topological_sort() function which takes a sequence of ordered couples of values and returns a single sequence where each value is guaranteed to come before every value that comes after it in any of the input couples. When this is not possible, e.g. for inputs like (1 2) (2 1), None is returned.

The library’s documentation is available on ReadTheDocs.

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 nxpy-sort, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size nxpy_sort-1.0.0-py2.py3-none-any.whl (4.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size nxpy_sort-1.0.0.tar.gz (3.2 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