python-naturalsort - Simple natural order sorting API for Python that just works

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe amd64
Package name python-naturalsort
Package version 1.0.3
Package release 1.1
Package architecture all
Package type deb
Installed size 50 B
Download size 5.55 KB
Official Mirror
The ``natsort.natsort()`` function in the ``naturalsort`` package is a very
simple alternative to Python's ``sorted()`` function that implements `natural
order sorting`_ in Python. The package is available on PyPI, so getting started
is very simple:
$ pip install naturalsort
$ python
> from natsort import natsort
> versions = ['1.8.1-r26', '1.8.1-r30', '2.0-r2', '2.0-r7', '2.0-r11']
> natsort(['my-package-%s' % v for v in versions])
The main use case that this package was originally created for is sorting of
pathnames with versions numbers embedded in them. This is why the sorting key
defined by the ``naturalsort`` package ignores filename extensions (not doing
so can give unexpected results).


Package Version Architecture Repository
python-naturalsort_1.0.3-1.1_all.deb 1.0.3 all Ubuntu Universe
python-naturalsort - - -


Name Value
python << 2.8
python >= 2.7
python:any >= 2.7.1-0ubuntu2


Type URL
Binary Package python-naturalsort_1.0.3-1.1_all.deb
Source Package python-naturalsort

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-naturalsort deb package:
    # sudo apt-get install python-naturalsort




2014-03-28 - Evgeni Golov <>
python-naturalsort (1.0.3-1.1) unstable; urgency=medium
* Non-maintainer upload.
* Add python-setuptools to Build-Depends. (Closes: #725563)
2013-09-19 - Cyril Bouthors <>
python-naturalsort (1.0.3-1) unstable; urgency=low
* Initial release (closes: #723742).

See Also

Package Description
python-nautilus_1.1-4_amd64.deb Python binding for Nautilus components
python-nav-msgs_1.12.3-5_all.deb Messages relating to Robot OS nav, Python interface
python-nbxmpp-doc_0.5.3-1_all.deb Non blocking Jabber/XMPP Python library, documentation
python-nbxmpp_0.5.3-1_all.deb Non blocking Jabber/XMPP Python library
python-ncap_1.9.2-2.1_amd64.deb Python bindings for libncap
python-ncclient_0.4.7-1_all.deb Python library for NETCONF clients
python-nemu_0.2-2_all.deb lightweight network emulator embedded in a small python library
python-neo_0.3.3-2_all.deb Python IO library for electrophysiological data formats
python-netcdf4_1.2.2-2_amd64.deb Python interface to the netCDF4 (network Common Data Form) library
python-netfilter_0.6.3-1_all.deb Python module for manipulating netfilter rules (Python 2)
python-netlib_0.15.1-1_amd64.deb collection of network utility classes (python2)
python-netsnmp_5.7.3+dfsg-1ubuntu4_amd64.deb SNMP (Simple Network Management Protocol) Python support
python-netsyslog_0.1.0+dp2-1_all.deb Python Modules for emitting and receiving syslog events
python-networking-arista_2015.2.0-1_all.deb OpenStack virtual network service - Arista plugin
python-networking-hyperv_2.0.0-0ubuntu1_all.deb OpenStack Networking Hyper-V ML2 mechanism driver