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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for nxpy_sort-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b93360a32259ed7d921cd7c9518c4452214b7a81afce819e55bdc63caf2eb8b |
|
MD5 | a9ac9d0ba9e01c61b8119e9a15a19d18 |
|
BLAKE2b-256 | d8a392e396d846659525df12a3f2572e1942dc3f24e307257f7c8d6f008bf93f |