natsort 6.0.0-1.1 source package in Ubuntu
Changelog
natsort (6.0.0-1.1) unstable; urgency=medium * Non-maintainer upload. * Drop python2 support; Closes: #937112 -- Sandro Tosi <email address hidden> Sun, 06 Oct 2019 16:00:20 -0400
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.1.dsc | 2.1 KiB | 642fbd743212731c1a29a894d41b310af4186d39b4fa5dc0e49f863ec738c93e |
natsort_6.0.0.orig.tar.gz | 133.3 KiB | 8bfbfdca5be164078d0147229afbfcea2a09030dbbcc51eacc1b09d3ad4ae6d0 |
natsort_6.0.0-1.1.debian.tar.xz | 3.8 KiB | 2607300032bd4bdfdc433935a9db83b319f7c0b1e51d6091fab5f6d19d0a753b |
Available diffs
- diff from 6.0.0-1 to 6.0.0-1.1 (1.2 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.