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 details)
Built Distribution
File details
Details for the file nxpy_sort-1.0.0.tar.gz
.
File metadata
- Download URL: nxpy_sort-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29be7e967616dc8d0555ccc9fa15c736f620d3f8e5ef0607a43282ee1cb924f6 |
|
MD5 | 51beb1a46800bf4c232d46f274bd1571 |
|
BLAKE2b-256 | fefbc14020d622fa2a211e4cccc4886f4ab7dee99b4189de7a346a3c0f09236b |
File details
Details for the file nxpy_sort-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: nxpy_sort-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b93360a32259ed7d921cd7c9518c4452214b7a81afce819e55bdc63caf2eb8b |
|
MD5 | a9ac9d0ba9e01c61b8119e9a15a19d18 |
|
BLAKE2b-256 | d8a392e396d846659525df12a3f2572e1942dc3f24e307257f7c8d6f008bf93f |