Filewatcher File Search File Search
Catalog
Content Search
» » » » »

python-decorator

simplify usage of python decorators by programmers

Variants:
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.
Homepage:-
Package version:2.2.0-2
Architecture:all
Distribution:Debian
Filename:python-decorator_2.2.0-2_all.deb

/usr/share/doc/python-decorator/README.txt

Decorator module
---------------------------

Dependencies:

The decorator module requires Python 2.4.

Installation:

Unzip the archive in a directory called "decorator" in your Python path. 
For instance, on Unices you could give something like that:

$ unzip decorator.zip -d decorator

Testing:

Just go in the package directory and give

$ python doctester.py documentation.txt
more»

/usr/share/doc/python-decorator/changelog.Debian.gz

python-decorator (2.2.0-2) unstable; urgency=low

  * debian/control:
    [Oleksandr Moskalenko]
    - Fixed a type in the description (Thanks to Reuben Thomas
      <rrt@sc3d.org>) (Closes: #446694).
    [Piotr O┼╝arowski]
    - Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now).

 -- Oleksandr Moskalenko <malex@debian.org>  Thu, 15 Nov 2007 10:12:59 -0700

python-decorator (2.2.0-1) unstab
more»

/usr/share/doc/python-decorator/changelog.gz

HISTORY
----------

2.2.0. Added a note on 'inspect.getsource' not working for decorated
     functions; referenced PEP 326; highlighted the snippets in the 
     documentation with pygments; slightly simplified the code (31/07/2007)
2.1.0. Replaced the utility 'update_wrapper' with 'new_wrapper' and
     updated the documentation accordingly; fixed and improved the 
     doctester argument parsin
more»

/usr/share/doc/python-decorator/copyright

This package was debianized by Oleksandr Moskalenko <malex@debian.org> on
Fri, 13 Apr 2007 13:10:43 
more»

Browse inside python-decorator_2.2.0-2_all.deb

         [DIR]DEBIAN/ (4)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download python-decorator_2.2.0-2_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com