natsort 8.0.2-2 source package in Ubuntu
Changelog
natsort (8.0.2-2) unstable; urgency=medium [ Debian Janitor ] * Remove constraints unnecessary since buster: + python3-natsort: Drop versioned constraint on python-natsort in Breaks. -- Jelmer Vernooij <email address hidden> Fri, 17 Jun 2022 09:19:23 +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 | |
---|---|---|---|---|
Mantic | release | universe | misc | |
Lunar | release | universe | misc | |
Kinetic | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
natsort_8.0.2-2.dsc | 2.3 KiB | c367ea9a816ecf534e470ce66941033a8b03853121c4a353fe1d664337c53a23 |
natsort_8.0.2.orig.tar.xz | 116.8 KiB | 4634dc832308af2d91253b484502b0a30947a932ae2c9e03a2478a18396f6b04 |
natsort_8.0.2-2.debian.tar.xz | 4.6 KiB | 1052ecff8e71ea8b7748920d73d9a29b9a53785e8bf21b09376e4eb576299628 |
Available diffs
- diff from 8.0.2-1 to 8.0.2-2 (534 bytes)
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.