Observer Pattern
This is a Python implementation of the observer pattern. It defines a one-to many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Observer Pattern Download |
This script can be good to avoid some limitations of multiple inheritance, when in need to expand functionalities of superclasses in the hierarchy or controlling the classes cooperation.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Observer pattern for method calls Download |
This script implements an observer pattern for dictionaries and lists. It does not support a one-many relation. The observer is sent enough information so that the change can be undone.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): List and dictionary observer Download |
This script separates pattern implementation from your code so that you can reuse the implementation elsewhere. It is an example that shows a reusable implementation of the Observer pattern.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Separating Pattern Implementation from Your Code Download |
This class implements the observer design pattern. Acting as a registration hub, it fires simple Events when requested.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (49): Observer Design Pattern 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 |
LuaNotify is inspired on many libraries that do event dispatching, like py-notify, GSignals, QT event system, wxWidgets event system, etc. Making easier to implement lua software using Notifier/Observer pattern.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 162 KB | Download (48): luanotify Download |
This script provides a basic undo mechanism. The undo mechanism is build on top of the observer pattern. The basic undoer records all parameters needed to undo the change of attributes.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): A basic undo mechanism Download |
Knitting Pattern Generator is a Python script to convert image files (PNG, GIF, BMP, etc.) into knitting patterns. Usage: python kpg.py myimage.png.
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (700): Knitting Pattern Generator Download |
Clipboard Observer is an extension which can load URI texts copied into the clipboard automatically. This can load URI texts copied into the clipboard automatically. You should not use this together with another application which observes the clipboard. This combination may cause troubles....
Platforms: *nix
License: Freeware | Size: 27.65 KB | Download (98): Clipboard Observer Download |
IP Observer provides you with a way to observe your assigned IP adress also behind a internet router and give a new adress to people by email. The assigned IP adress from yor privider changed every day. Also at Flatrates there is a cut of. So you can´t access to your computer from outside...
Platforms: *nix
License: Freeware | Size: 1024 KB | Download (160): IP Observer Download |
The Official Pattern Release or OPR is Trend Micro's latest compilation of patterns for identified viruses. Trend Micro offers various types of Pattern Files to protect customers from Malware, Spyware/Grayware, and other threats... It is guaranteed to have passed a series of critical tests to...
Platforms: Linux
License: Freeware | Size: 45.48 MB | Download (49): Trend Micro Virus Pattern File for Linux Download |
The Official Pattern Release or OPR is Trend Micro's latest compilation of patterns for identified viruses. Trend Micro offers various types of Pattern Files to protect customers from Malware, Spyware/Grayware, and other threats... It is guaranteed to have passed a series of critical tests to...
Platforms: Windows
License: Freeware | Size: 45.48 MB | Download (54): Trend Micro Virus Pattern File Download |
In this game you will be given a grid of blocks, some of the grids will be highlighted for a moment, you need to memorise the pattern of the highlighted blocks and then reproduce the pattern. As the game progresses the grid will be larger and the number of highlighted blocks will also be larger,...
Platforms: Windows
License: Freeware | Size: 262 KB | Download (493): Pattern Memory Download |
This script allows you to generate all the string described by a pattern passed on the command-line.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Simple pattern-based string generator Download |
This script is a sample implementation of the 'Null Object' design pattern. Roughly, the goal with Null objects is to provide an 'intelligent' replacement for the often used primitive data type None in Python or Null (or Null pointers) in other languages. These are used for many purposes...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Null Object Design Pattern Download |
This script contains a class that shows how to implement the singleton pattern in Python. A singleton is a class that makes sure only one instance of it is ever created. Typically such classes are used to manage resources that by their very nature can only exist once.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): The Singleton Pattern implemented with Python Download |
In the factory pattern script you have an object that creates other objects.Factory is useful to separate implementation from interface. It adds a new indirection layer. When you want to instanciate an object you call its factory and the factory creates the instance.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Factory pattern Download |
This script is an implementation of the prototype pattern. In the prototype pattern you create a new instance cloning from other.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (50): Prototype pattern Download |
Memento design pattern in python script allows you to cache instances based on what arguments are passed to them.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Memento design pattern in python Download |