How to Install and Uninstall python3-decorator Package on Kali Linux

Last updated: May 18,2024

1. Install "python3-decorator" package

Please follow the instructions below to install python3-decorator on Kali Linux

$ sudo apt update $ sudo apt install python3-decorator

2. Uninstall "python3-decorator" package

Please follow the step by step instructions below to uninstall python3-decorator on Kali Linux:

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

3. Information about the python3-decorator package on Kali Linux

Package: python3-decorator
Source: python-decorator
Version: 5.1.1-5
Installed-Size: 45
Maintainer: Debian Python Team
Architecture: all
Depends: python3:any
Size: 15052
SHA256: 91433b542b781802c5311a3e823205c5a9d787304923cd0368974e82b0a68e2a
SHA1: 6324000fcb07b35bd065ad7cf4b4cae56634d8d5
MD5sum: 250f38ed0b965798c90be33361777312
Description: 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:
Multi-Arch: foreign
Homepage: https://github.com/micheles/decorator
Section: python
Priority: optional
Filename: pool/main/p/python-decorator/python3-decorator_5.1.1-5_all.deb