A good decorator library

Michele Simionato michele.simionato at gmail.com
Sat Oct 23 16:42:18 CEST 2010

On Oct 22, 10:42 pm, Felipe Bastos Nunes <felipe.bast... at gmail.com>
> Hi! I was looking for a good decorator library to study and make my
> own decorators. I've read the Bruce Eckel's blog at artima dot com.
> But I need some more examples. I'm building a WSN simulator like SHOX
> is in java, but programming it in python. I'd like to use decorators
> to set methods that would be logged as statistics and some more
> funcionalities like check a method to check the params' types.
> Thanks in advance, and (at least here) good night eheh
> --
> Felipe Bastos Nunes

My own decorator module seems to be quite popular nowadays, by judging
by the number of downloads. Even if you end up not using it, the
documentation is quite pedagogic and intended for beginners, so you
may want to look at it:

More information about the Python-list mailing list