Nxpy Sort
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.
Release files for nxpy-sort 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nxpy_sort-1.0.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nxpy_sort-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 7.4 kB
Release files / nxpy_sort-1.0.0.tar.gz
| Download URL | nxpy_sort-1.0.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29be7e967616dc8d0555ccc9fa15c736f620d3f8e5ef0607a43282ee1cb924f6
|
|
BLAKE2b-256 checksum How to use checksums |
fefbc14020d622fa2a211e4cccc4886f4ab7dee99b4189de7a346a3c0f09236b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / nxpy_sort-1.0.0-py2.py3-none-any.whl
| Download URL | nxpy_sort-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2b93360a32259ed7d921cd7c9518c4452214b7a81afce819e55bdc63caf2eb8b
|
|
BLAKE2b-256 checksum How to use checksums |
d8a392e396d846659525df12a3f2572e1942dc3f24e307257f7c8d6f008bf93f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|