python-decorator

Rating: 
0
No votes yet

Decorator is a Python module to 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.

This is a Python library used as a dependency by some Python softwares (SciPy >= 0.14.0, etc). If you want to install for other use, enable the repository and install it by typing "apt-get install" in MeeGo Harmattan Terminal.

Category:

Keywords:

Application versions: 
AttachmentSizeDate
File python-decorator_3.4.0-1harmattan1_all.deb20.62 KB29/09/2014 - 05:37
Changelog: 

- Decorator 3.4.0 (18/10/2012) : first release for MeeGo 1.2 Harmattan (28/09/2014).