NEW

Caching and aliasing with descriptors script contains a few simple descriptor classes to compute and ca...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.5/5) 433 June 7th, 2007 UTC |
|
NEW

Combining simple and specific property creation script provides a function that will automate the simpl...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.2/5) 402 June 7th, 2007 UTC |
|
NEW

DoDefaultMixin script is an alternative way to call superclass method code.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.6/5) 444 June 7th, 2007 UTC |
|
NEW

Drawing inheritance diagrams with "Dot" script produces beautiful inheritance diagrams for Py...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.8/5) 617 June 7th, 2007 UTC |
|
NEW

Generating get/set methods using closures script is a stategy for automating the creation of such simpl...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.7/5) 417 June 7th, 2007 UTC |
|
NEW

How to implement state-dependent behavior script demonstrates a networkcard that depends on its interna...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.6/5) 467 June 7th, 2007 UTC |
|
NEW

Import package modules at runtime script allows you to load modules from packages without hard-coding t...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.2/5) 423 June 7th, 2007 UTC |
|
NEW

A class keeps a reference to it's instance script implements a base class, which allows derived cl...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.7/5) 447 June 7th, 2007 UTC |
|
NEW

Function emulation using __call__ script defines a simple but useful class that emulates a function to ...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.9/5) 412 June 7th, 2007 UTC |
|
NEW

Type-checking decorator script lets you annotate function definitions with argument type requirements.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.1/5) 419 June 7th, 2007 UTC |
|
NEW

Observer pattern for method calls script can be good to avoid some limitations of multiple inheritance.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.5/5) 445 June 7th, 2007 UTC |
|
NEW

Maintenance-free Signals implementation module enables you to create Signals as members of classes, as ...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.5/5) 485 June 7th, 2007 UTC |
|
NEW

Boring Constructor Pattern script simply creates lots of private member variables.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Very Good (4.0/5) 417 June 7th, 2007 UTC |
|
NEW

Auto Incrementer Example of __call__ and yield script will automatically return the next integer.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.2/5) 433 June 7th, 2007 UTC |
|
NEW

Wrapper class for the heapq module provides a cleaner interface to the functions in the heapq module.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.9/5) 436 June 7th, 2007 UTC |
|
NEW

Memento Closure script adds transactional semantics to methods.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.5/5) 523 June 7th, 2007 UTC |
|
NEW

Caching object creation script contains many recipes to memoize functions.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.1/5) 459 June 7th, 2007 UTC |
|
NEW

Call a function/method X times per second script is a generator function used to call a function X time...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.7/5) 457 June 7th, 2007 UTC |
|
NEW

Autosuper to the limit script returns a tuple (cls,self,method).
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.8/5) 439 June 7th, 2007 UTC |
|
NEW

Extending Classes script contains two implementations for extending an exsisting class using metaclasses.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.6/5) 458 June 7th, 2007 UTC |
|
NEW

Automatic delegation through descriptors script is useful when you want a class instance to act as if i...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.1/5) 409 June 7th, 2007 UTC |
|
NEW

SimpleWrapper script is a simple object wrapper that allows you to define pre-defined parameters for fu...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.5/5) 415 June 7th, 2007 UTC |
|
NEW

Remove duplicates from a sequence script allows you to to remove duplicates from a sequence.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Fair (2.5/5) 501 June 7th, 2007 UTC |
|
NEW

Numeric to rational via Farey fractions script converts a Numeric to a rational.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.0/5) 507 June 7th, 2007 UTC |
|
NEW

Fixed keys mapping type script is a memory efficient implementation of a mapping type for mappings with...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.5/5) 481 June 7th, 2007 UTC |
|
NEW

Composite design-pattern using dictionaries script illustrates the composite design pattern by using hi...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.6/5) 499 June 7th, 2007 UTC |
|
NEW

Separating Pattern Implementation from Your Code script separates pattern implementation from your code...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.5/5) 358 June 7th, 2007 UTC |
|
NEW

Attributes WithProtection without pain script enables proper protection of attributes that are mangled ...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.7/5) 435 June 7th, 2007 UTC |
|
NEW

z_sync script gives access to the Sync class when you try to syncronize the execution of two or more th...
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.5/5) 395 June 7th, 2007 UTC |
|
NEW

Dependency Injection The Python Way script is a sample pythonic inversion-of-control pseudo-Container.
[read more >]
|
Platform: Language: License: Rating: Downloads: Updated:
|
Windows / Linux / Ma... Python Other Free / Open So... Good (3.2/5) 607 June 7th, 2007 UTC |
|
|