py-natsort (python/py-natsort) Updated: 1 year, 5 months ago Add to my watchlist

Natural sorting for Python

When 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 GitHub
Maintainers reneeotten
Categories textproc python
Homepage https://github.com/SethMMorton/natsort
Platforms any
Variants -

Subport(s) (9)


"py-natsort" depends on

lib (1)
build (1)

Ports that depend on "py-natsort"

No ports


Port Health:

Loading Port Health

Installations (30 days)

0

Requested Installations (30 days)

0