How to Install and Uninstall python-parse Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 22,2024

1. Install "python-parse" package

Please follow the steps below to install python-parse on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-parse

2. Uninstall "python-parse" package

This guide covers the steps necessary to uninstall python-parse on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-parse $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-parse package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-parse
Priority: optional
Section: universe/python
Installed-Size: 69
Maintainer: Ubuntu Developers
Original-Maintainer: Cyril Bouthors
Architecture: all
Version: 1.6.6-0ubuntu1
Depends: python (>= 2.7), python (<< 2.8)
Filename: pool/universe/p/python-parse/python-parse_1.6.6-0ubuntu1_all.deb
Size: 14878
MD5sum: 8a4ee68d63f620261b27697090d453be
SHA1: ff84282820312349a26e8601023f2b7c9add30bb
SHA256: 27c97d9ae1223459dfbe104f813382c6514bef77ceabaf6831fceeeea74ffcde
Description-en: Parse provides the reverse function for format().
Parse strings using a specification based on the Python format() syntax.
.
``parse()`` is the opposite of ``format()``
.
The module is set up to only export ``parse()``, ``search()`` and
``findall()`` when ``import *`` is used:
.
>>> from parse import *
.
From there it's a simple thing to parse a string:
.
>>> parse("It's {}, I love it!", "It's spam, I love it!")

>>> _[0]
'spam'
.
Or to search a string for some pattern:
.
>>> search('Age: {:d}\n', 'Name: Rufus\nAge: 42\nColor: red\n')

Description-md5: ba0f68f89322114a6db720073509e500
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu