How to Install and Uninstall python3-decorator Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "python3-decorator" package

This guide let you learn how to install python3-decorator on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python3-decorator

2. Uninstall "python3-decorator" package

Please follow the instructions below to uninstall python3-decorator on Ubuntu 21.10 (Impish Indri):

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

3. Information about the python3-decorator package on Ubuntu 21.10 (Impish Indri)

Package: python3-decorator
Architecture: all
Version: 4.4.2-0ubuntu1
Multi-Arch: foreign
Priority: optional
Section: python
Source: python-decorator
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43
Depends: python3:any
Filename: pool/main/p/python-decorator/python3-decorator_4.4.2-0ubuntu1_all.deb
Size: 10324
MD5sum: 58693122cda57913b7ac0ed73425d430
SHA1: 393376727d029f83cbd139991db1401a67bb2f04
SHA256: bde6c1bc1bf6d26999b7b2e569888a29babd5d6a31c4ad6cb81633ed9f97204b
SHA512: 06c9b4548036575bcba9ec5e2b48bd72bb6ca3781bbb8c87915d32573327bea1e999405a83a54906715d5060d6fa6fbbeb06dd8d431004c3edf59133e3523951
Homepage: https://pypi.python.org/pypi/decorator
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
Task: ubuntustudio-publishing