FreeBSD.software
Home/devel/py311-natsort

py311-natsort

8.4.0_1devel

Natural sorting for python

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.

$pkg install py311-natsort
github.com/SethMMorton/natsort
Origin
devel/py-natsort
Size
355KiB
License
MIT
Maintainer
yuri@FreeBSD.org
Dependencies
1 packages
Required by
13 packages

Dependencies (1)

Required By (13)