python-decorator_4.3.0-2_all.deb

STEP 1: Have you installed this repository?

If not, run this installation script command:

curl -s https://packagecloud.io/install/repositories/faucetsdn/faucet/script.deb.sh | sudo bash
copy
curl -s https://packagecloud.io/install/repositories/faucetsdn/faucet/script.deb.sh | sudo bash

STEP 2: Install the package
sudo apt-get install python-decorator=4.3.0-2

simplify usage of Python decorators by programmers

Full 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.

Checksums

MD5 a66fe29d795907351b11c3caf4ae8a76
SHA1 18ab034d60c28df7816e1a0b588413df86354010
SHA256 10e8a896bba7dae3f280ec3ae6a41791499672676720d99d5cd9463cebc15968
SHA512 8a533d94249c556d30b61f584bf49242683cabf1321080b2dd4fd1e3e7622f7827ee3a9d65e06adaf7dfb430e19750c6a0a6791c8bd86a43677f600ff283b18d

Depends

  • python:any (<< 2.8), python:any (>= 2.7.5-5~)

Enhances

  • python-pylons

Files

  • /usr/share/doc/python-decorator/copyright
  • /usr/share/doc/python-decorator/changelog.gz
  • /usr/share/doc/python-decorator/changelog.Debian.gz
  • /usr/lib/python2.7/dist-packages/decorator.py
  • /usr/lib/python2.7/dist-packages/decorator-4.3.0.egg-info/top_level.txt
  • /usr/lib/python2.7/dist-packages/decorator-4.3.0.egg-info/PKG-INFO
  • /usr/lib/python2.7/dist-packages/decorator-4.3.0.egg-info/pbr.json
  • /usr/lib/python2.7/dist-packages/decorator-4.3.0.egg-info/not-zip-safe
  • /usr/lib/python2.7/dist-packages/decorator-4.3.0.egg-info/dependency_links.txt

Uploaded

over 6 years ago

Package Size

13.8 KB

Installed Size

43.9 KB

Downloads

18

wget

wget --content-disposition "https://packagecloud.io/faucetsdn/faucet/packages/raspbian/stretch/python-decorator_4.3.0-2_all.deb/download.deb?distro_version_id=155"

Homepage

https://pypi.python.org/pypi/decorator