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.
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.
Attachment | Size | Date |
---|---|---|
python-decorator_3.4.0-1harmattan1_all.deb | 20.62 KB | 29/09/2014 - 05:37 |
- Decorator 3.4.0 (18/10/2012) : first release for MeeGo 1.2 Harmattan (28/09/2014).
Recent comments