python-decorator_4.1.2-1_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.1.2-1

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 24782067288f872576a1674d0cf1b712
SHA1 27b0e0ad7bb5519b70c29e2992f5d37472de4a97
SHA256 1168c45ecdeec20f36298505d24fa8f830963e614aa1ddd6411204641c4f49cd
SHA512 b5d3fa7457bf9dce9bfa1bbc56d37dece20391fb727e7f158f16450abcfebdf51694bed6f4f1f218fede1cf3edffe770d1c19ae4f2ac511f88fe087dd6e94a9c

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.1.2.egg-info/top_level.txt
  • /usr/lib/python2.7/dist-packages/decorator-4.1.2.egg-info/PKG-INFO
  • /usr/lib/python2.7/dist-packages/decorator-4.1.2.egg-info/pbr.json
  • /usr/lib/python2.7/dist-packages/decorator-4.1.2.egg-info/not-zip-safe
  • /usr/lib/python2.7/dist-packages/decorator-4.1.2.egg-info/dependency_links.txt

Uploaded

about 7 years ago

Package Size

13.3 KB

Installed Size

42 KB

Downloads

29

wget

wget --content-disposition "https://packagecloud.io/faucetsdn/faucet/packages/ubuntu/artful/python-decorator_4.1.2-1_all.deb/download.deb?distro_version_id=187"

Homepage

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