natsort 7.1.0-1 source package in Ubuntu
Changelog
natsort (7.1.0-1) unstable; urgency=medium * Team upload. * New upstream version 7.1.0. * Drop Python 3.9 patch now applied upstream. * Bump Standards-Version to 4.5.1, no changes needed. * Demote reletionship against the -doc package from Recommends to Suggests. -- Mattia Rizzolo <email address hidden> Thu, 03 Dec 2020 22:14:05 +0100
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
natsort_7.1.0-1.dsc | 2.3 KiB | 3441cd877f8bde6ad8b87d09cc344b07a14359a525d7169f4996e31b33297705 |
natsort_7.1.0.orig.tar.gz | 134.1 KiB | d891d526a9c269c667a5eedc36f6acc8d75d392ef2b22d8daee8f7e8d1f0e08e |
natsort_7.1.0-1.debian.tar.xz | 4.4 KiB | 359f889bd98d5fddee73ba4e0eec3ec65e843ce00f9dda3b48c1085c9ef3e8c8 |
Available diffs
- diff from 7.0.1-2 to 7.1.0-1 (11.9 KiB)
No changes file available.
Binary packages built by this source
- python-natsort-doc: Natural sorting for Python (doc)
natsort lets you apply natural sorting to your sequences easily, for example:
.
>>> from natsort import natsorted
>>> a = ['a2', 'a9', 'a1', 'a4', 'a10']
>>> data = [['a1', 'a5'], ['a1', 'a40'], ['a10', 'a1'], ['a2', 'a5']]
>>> natsorted(a)
['a1', 'a2', 'a4', 'a9', 'a10'
>>> natsorted(data)
[['a1', 'a5'], ['a1', 'a40'], ['a2', 'a5'], ['a10', 'a1']]
.
natsort identifies the numbers and sorts them separately from strings.
.
natsort comes with a shell script to use natural sorting in shell scripts. You
can also execute natsort from the command line with Python -m natsort.
.
There exists another natural sorting package for Python called
python-naturalsort. You may prefer that package if you wish to only sort
version numbers.
.
This package contains API documentation and examples.
- python3-natsort: Natural sorting for Python (Python3)
natsort lets you apply natural sorting to your sequences easily, for example:
.
>>> from natsort import natsorted
>>> a = ['a2', 'a9', 'a1', 'a4', 'a10']
>>> data = [['a1', 'a5'], ['a1', 'a40'], ['a10', 'a1'], ['a2', 'a5']]
>>> natsorted(a)
['a1', 'a2', 'a4', 'a9', 'a10'
>>> natsorted(data)
[['a1', 'a5'], ['a1', 'a40'], ['a2', 'a5'], ['a10', 'a1']]
.
natsort identifies the numbers and sorts them separately from strings.
.
natsort comes with a shell script to use natural sorting in shell scripts. You
can also execute natsort from the command line with Python -m natsort.
.
There exists another natural sorting package for Python called
python-naturalsort. You may prefer that package if you wish to only sort
version numbers.
.
This is the Python 3 version of the package.