natsort 4.0.3-2 source package in Ubuntu
Changelog
natsort (4.0.3-2) unstable; urgency=medium * Fix code example in package description (Closes: #778767) Thanks to Daniele Forsi <email address hidden> -- Agustin Henze <email address hidden> Wed, 26 Aug 2015 11:23:08 +0200
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 | |
---|---|---|---|---|
Bionic | release | universe | misc | |
Xenial | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
natsort_4.0.3-2.dsc | 2.1 KiB | e9ff5465ad5aad8ad82655bf78a23339a79d8c9128e6d8096c9db8f514b01b14 |
natsort_4.0.3.orig.tar.gz | 57.6 KiB | a829e02741e6ff0491b91bf1c195fb1e5404fe6ffdd8cbf78412b2729d5176b0 |
natsort_4.0.3-2.debian.tar.xz | 3.4 KiB | 3fc72158fc541bbec6a2e509d7d18758100ba290b4bbf57c626adbb0e2f4f04f |
Available diffs
- diff from 4.0.1-1 to 4.0.3-2 (13.6 KiB)
No changes file available.
Binary packages built by this source
- python-natsort: No summary available for python-natsort in ubuntu zesty.
No description available for python-natsort in ubuntu zesty.
- 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: No summary available for python3-natsort in ubuntu zesty.
No description available for python3-natsort in ubuntu zesty.