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.

Source Distribution

nxpy_sort-1.0.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

nxpy_sort-1.0.0-py2.py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page