natsort 8.0.2-1 source package in Ubuntu
Changelog
natsort (8.0.2-1) unstable; urgency=medium * New upstream release * debian/watch - track github tags * debian/copyright - update upstream copyright information -- Sandro Tosi <email address hidden> Mon, 17 Jan 2022 22:40:36 -0500
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 | |
---|---|---|---|---|
Jammy | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
natsort_8.0.2-1.dsc | 2.3 KiB | 31c6b625a0638683c8cd864144f77d255b4eaf2be80c999c45fbcfb3c414c58f |
natsort_8.0.2.orig.tar.xz | 116.8 KiB | 4634dc832308af2d91253b484502b0a30947a932ae2c9e03a2478a18396f6b04 |
natsort_8.0.2-1.debian.tar.xz | 4.5 KiB | c025b36ec18190264573325bccebab40b5fcf3d41607b56f5c4f6a7f7a633076 |
Available diffs
- diff from 7.1.0-1 to 8.0.2-1 (32.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.