Decorator
Interface Interceptor is a library designed to enable you to automaticaly generate decorators for your classes which implement some set of interfaces.
Interceptor allows you to intercept the interface methods call, change method logic, analize input parameters, substitute return value, analize...
Platforms: Windows
License: Freeware | Download (56): Interface Interceptor Download |
This script is useful for decorating functions/methods that you'd like to disable from the main loop or commandline via optparse.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (81): decorator: suppressable Download |
Sometimes inside a decorator that creates a function with a generic (*args, **kwargs) signature, you want to access a value passed for a particular parameter name to a wrapped function, but don't know whether that value will be passed as a positional or keyword argument, or whether the wrapped...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Finding the value passed to a function by name Download |
This script shows you to use the new decorator feature of python 2.4 to systematically check the argument types for type-sensitive functions.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Type checked argument lists with decorators Download |
It can help create large sites consisting of many pages where a consistent look, navigation and layout is necessary.The application intercepts requests to any static or dynamically generated HTML page requested through the web-server, parses the page, obtains properties and data from the content...
Platforms: Java
License: Freeware | Size: 7.1 MB | Download (47): SiteMesh Download |
The Pytools package is like a big bag of things that are "missing" from the Python standard library. This is mainly a dependency of my other software packages, and is probably of little interest to you unless you use those. If you???*a*?re curious nonetheless, here???*a*?s what???*a*?s on offer:...
Platforms: *nix
License: Freeware | Size: 40.96 KB | Download (33): Pytools Download |
This is a Python module :mod:`nmevent`, simple C#-like implementation of the Observer pattern (http://en.wikipedia.org/wiki/Observer_pattern). It's main purpose and goal is to allow developers to use events with C#-like syntax in their Python classes. ============= Usage example =============...
Platforms: *nix
License: Freeware | Size: 81.92 KB | Download (38): nmevent Download |
Ladon is a python based framework to expose functions to multiple types of web services. For instance SOAP, JSON-WSP, HTTP POST arguments, etc. 1. Implement ... Implement your service class decorating the methods you wish to expose with the ladonize decorator. 2. Wrap it ... Wrap your service...
Platforms: *nix
License: Freeware | Size: 348.16 KB | Download (38): Ladon Download |
pyroutes is a really small wrapper for rapid development of small Python web applications. Why? I got tired of dealing with the same boring WSGI-stuff everytime I wanted to make a small web-utility in django, but I didn't want to go to far away from it, so I made this little thing to ease the...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (33): pyroutes Download |
gocept.async provides asynchronous function calls using a decorator. It facilitates lovely.remotetask to actually do things asynchronously.
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (38): gocept.async Download |
Pagination utilities for TurboGears TGPaginate is a branch from the TG paginator that allows multiple paginations and support for Ajax. Right now it's focused on AjaxPaginatedGrid, it's a new widget that interacts with the pagination decorator to provide fast access to the data and interaction...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (32): TGPaginate Download |
Class::Adapter is a Perl implementation of the "Adapter" Design Pattern. The Class::Adapter class is intended as an abstract base class for creating any sort of class or object that follows the Adapter pattern. What is an Adapter? The term Adapter refers to a "Design Pattern" of the same...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (102): Class::Adapter Download |
SofaKing is a program which helps you find good television shows, with exact channels and showtimes for your local neighbourhood. SofaKing's centerpiece is a week-view calendar which is divided into half-hour sections. When a time-slot is clicked, a window pops-up allowing the user to enter...
Platforms: Mac
License: Freeware | Download (94): SofaKing Download |
The highly anticipated release in the Dream Day Series, Dream Day First Home finds Jenny and Robert back from their honeymoon and ready to make their first house into a home! As usual, theyll need your help - from choosing the house to shopping and redecorating, to solving inevitable Homeowner...
Platforms: Mac
License: Freeware | Size: 84 MB | Download (494): Dream Day First Home for Mac OS Download |
My New Room is an arcade game for free. Let your inner decorator loose to create your own virtual spot to hang! My New Room 2 adds more cool options like music styles, pets, and backgrounds to create your perfect room! Click with the mouse on the catalogue on the right to pick your items. Give...
Platforms: Windows
License: Freeware | Size: 6.77 MB | Download (458): My New Room Download |
This script addresses the following two needs: - Object construction for some class is expensive. - Objects of this class need to be instantiated across multiple runs of the program. For example, object instantiaton may involve reading one or more big files, connecting to a database or a network...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Instantiating pickled instances transparently Download |
This script introduces weakly-bound methods. You could use this decorator to create methods that weakly-reference their instance (im_self). This means that the method itself will not keep the object alive. Useful for callbacks, caches, and avoiding cyclic references.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Weakmethod Script Download |
This script presents a way to introduce proper attribute access protection levels using a generic proxy object. By default all attributes are "protected" in the C sense and can be declared as public using either a function decorator or a class attribute.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (49): Public and protected attribute access Download |
Xmpp/jabber bot framework makes implementation of your jabber bot straightforward and quick. pyjabberbot is a fork of python-jabberbot with focus on overall stability and availability of the bot. Features: * fault tolerance * connection monitoring, auto-reconnect * command handling...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (39): pyjabberbot Download |
A least recently used (LRU) cache for Python. Pylru implements a true LRU cache along with several support classes. The cache is efficient and written in pure Python. It works with Python 2.6+ including the new 3.x series. Basic operations (lookup, insert, delete) all run in a constant amount of...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (39): PyLRU Download |