py312-natsort (python/py-natsort) Updated: 11 months, 3 weeks ago Add to my watchlist
Natural sorting for PythonWhen you try to sort a list of strings that contain numbers, the normal Python sort algorithm sorts lexicographically, so you might not get the results that you expect. `natsort` provides a function `natsorted` that helps sort lists 'naturally', either as real numbers (i.e. signed/unsigned floats or ints), or as versions.
Version: 8.4.0 License: MIT GitHubMaintainers | reneeotten |
Categories | textproc python |
Homepage | https://github.com/SethMMorton/natsort |
Platforms | {darwin any} |
Variants | - |
Subport(s) (8)
"py312-natsort" depends on
lib (2)
run (1)
build (5)
test (3)
Ports that depend on "py312-natsort"
No ports
Port Health:
Loading Port Health