BSD Ports

devel/py-natsort 8.4.0_1 DragonFly

Natural sorting for python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
55.0 KiB, 354.9 KiB installed

Description

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.

In the other systems

The newest version among them is 8.4.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-natsort8.4.0_1 newestnone known-[email protected]-
FreeBSDdevel/py-natsort8.4.0_1 newestnone known-[email protected]-
NetBSDtextproc/py-natsort by name8.4.0nb1 newestnone known-[email protected]-
MidnightBSDdevel/py-natsort8.4.0_1 newestno data-[email protected]-
HardenedBSDdevel/py-natsort8.4.0_1 newestno data-[email protected]-
GhostBSDdevel/py-natsort8.4.0_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-natsort

From DPorts:

cd /usr/dports/devel/py-natsort && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1