How to Install and Uninstall python-decorator Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: February 14,2025
1. Install "python-decorator" package
Please follow the guidelines below to install python-decorator on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
python-decorator
Copied
2. Uninstall "python-decorator" package
Please follow the guidance below to uninstall python-decorator on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
python-decorator
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python-decorator package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: python-decorator
Priority: optional
Section: python
Installed-Size: 38
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 4.0.6-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/main/p/python-decorator/python-decorator_4.0.6-1_all.deb
Size: 9326
MD5sum: 060ca9cf96375105d25b5bfc5fa63d7e
SHA1: 69d56f613ad35364d32e3006a8449f2afdd2cfb7
SHA256: 37d2e2dc81336657b7999f3f6316b2c5bb1ddd32f9f8a7d2ae8110bf7dde3a40
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
Enhances: python-pylons
Homepage: http://pypi.python.org/pypi/decorator
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Priority: optional
Section: python
Installed-Size: 38
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Version: 4.0.6-1
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/main/p/python-decorator/python-decorator_4.0.6-1_all.deb
Size: 9326
MD5sum: 060ca9cf96375105d25b5bfc5fa63d7e
SHA1: 69d56f613ad35364d32e3006a8449f2afdd2cfb7
SHA256: 37d2e2dc81336657b7999f3f6316b2c5bb1ddd32f9f8a7d2ae8110bf7dde3a40
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
Enhances: python-pylons
Homepage: http://pypi.python.org/pypi/decorator
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y