How to Install and Uninstall python-natsort-doc Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: December 24,2024
1. Install "python-natsort-doc" package
This is a short guide on how to install python-natsort-doc on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
python-natsort-doc
Copied
2. Uninstall "python-natsort-doc" package
Here is a brief guide to show you how to uninstall python-natsort-doc on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
python-natsort-doc
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-natsort-doc package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: python-natsort-doc
Priority: optional
Section: universe/doc
Installed-Size: 314
Maintainer: Ubuntu Developers
Original-Maintainer: Agustin Henze
Architecture: all
Source: natsort
Version: 4.0.3-2
Depends: libjs-sphinxdoc (>= 1.0)
Recommends: python3-natsort
Filename: pool/universe/n/natsort/python-natsort-doc_4.0.3-2_all.deb
Size: 39066
MD5sum: 7ab6b2f44647116e347e724d4c7d1451
SHA1: 734098d58447b87b2074a3afff86e8b2e159e989
SHA256: cc66e344b3dfa8049ccf236e9e21f104b805300b7f851be27c74dc5c1e11313d
Description-en: 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.
Description-md5: 6767c520c7ab133b41a9b75bd25dfea6
Homepage: https://github.com/SethMMorton/natsort
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/doc
Installed-Size: 314
Maintainer: Ubuntu Developers
Original-Maintainer: Agustin Henze
Architecture: all
Source: natsort
Version: 4.0.3-2
Depends: libjs-sphinxdoc (>= 1.0)
Recommends: python3-natsort
Filename: pool/universe/n/natsort/python-natsort-doc_4.0.3-2_all.deb
Size: 39066
MD5sum: 7ab6b2f44647116e347e724d4c7d1451
SHA1: 734098d58447b87b2074a3afff86e8b2e159e989
SHA256: cc66e344b3dfa8049ccf236e9e21f104b805300b7f851be27c74dc5c1e11313d
Description-en: 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.
Description-md5: 6767c520c7ab133b41a9b75bd25dfea6
Homepage: https://github.com/SethMMorton/natsort
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu