natsort 6.0.0-1.2 source package in Ubuntu
Changelog
natsort (6.0.0-1.2) unstable; urgency=medium * Non-maintainer upload. * Make autopkgtest suite test the installed package (Closes: #944108) -- Antonio Terceiro <email address hidden> Mon, 04 Nov 2019 15:03:29 +0100
Upload details
- Uploaded by:
- Agustin Henze
- Uploaded to:
- Sid
- Original maintainer:
- Agustin Henze
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
natsort_6.0.0-1.2.dsc | 2.1 KiB | 745e9b5cb0c1cb9e265180b31a82fb1c8282d140ea4f666cf8446ca47830d64d |
natsort_6.0.0.orig.tar.gz | 133.3 KiB | 8bfbfdca5be164078d0147229afbfcea2a09030dbbcc51eacc1b09d3ad4ae6d0 |
natsort_6.0.0-1.2.debian.tar.xz | 3.9 KiB | 9d9e26a6b0a2c221c2c08ab088569025f2e828d35feef4ca157b54759de5fe6b |
Available diffs
- diff from 6.0.0-1.1 to 6.0.0-1.2 (711 bytes)
- diff from 6.0.0-1.1ubuntu1 (in Ubuntu) to 6.0.0-1.2 (784 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.