How to Install and Uninstall python3-decorator Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "python3-decorator" package

This is a short guide on how to install python3-decorator on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python3-decorator

2. Uninstall "python3-decorator" package

Learn how to uninstall python3-decorator on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python3-decorator $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-decorator package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python3-decorator
Priority: optional
Section: universe/python
Installed-Size: 38
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: python-decorator
Version: 4.0.6-1
Depends: python3:any (>= 3.3.2-2~)
Filename: pool/universe/p/python-decorator/python3-decorator_4.0.6-1_all.deb
Size: 9388
MD5sum: 1aba4bc11fbd578df13e7a4758da8eee
SHA1: 786131fe3e6f94b7d5201db4183858d651fb5a66
SHA256: c44f85fdc0728f5fd9f661736732518ab34213e01937034b907c0a03a81d0852
Description-en: simplify usage of Python decorators by programmers
Python 2.4 decorators have significantly changed the way Python programs are
structured.
* decorators help reduce boilerplate code;
* decorators help the separation of concerns;
* decorators enhance readability and maintainability;
* decorators are very explicit.
Still, as of now, writing custom decorators correctly requires some
experience and is not as easy as it could be. For instance, typical
implementations of decorators involve nested functions and we all know that
flat is better than nested.
The aim of the decorator module it to simplify the usage of decorators for
the average programmer and to popularize decorators usage giving examples of
useful decorators, such as memoize, tracing, redirecting_stdout, locked, etc.
Description-md5: 09bcb708a2302a7d9046e3a7b8bdcbef
Homepage: http://pypi.python.org/pypi/decorator
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 3y
Task: ubuntu-sdk, ubuntu-mate-desktop