Dictionary Mixin Framework

Dictionary Mixin / Framework 1.1

Dictionary Mixin / Framework 1.1 Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 357
  • Released: Jun 7, 2007

Dictionary Mixin / Framework 1.1 Description

This script makes it easy to provide a full dictionary interface to a class defining only a few mapping methods for getting, setting, deleting, and listing keys.

Also, a function is provided to incorporate the mixin at runtime so that code for existing modules need not be modified.

By usmodules nixin as a superclass, you are free to overwrite any of these methods with your own and not break the mixin. For instance, your class may already define the .get() method but not any of the iter functions.

The reason for implementing the full dictionary interface is to maximize substitutability. Given code that was designed to work with a dictionary, an object of your class (with the mixin) can be substituted for the dictionary.

Some modules like shelve implement a subset of the dictionary interface. If you want to substitute a persistent shelve for a dictionary in existing code, then its interface needs to be broadened to handle all of the dictionary methods.

Dictionary Mixin / Framework 1.1 Keywords

Dictionary Mixin Framework Bookmark

Hyperlink code:
Hyperlink for Forum code:

Dictionary Mixin / Framework 1.1 Script Download Notice

Top 4 Download periodically updates information of Dictionary Mixin / Framework 1.1 script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Dictionary Mixin / Framework 1.1 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Case insensitive Dictionary

Case-insensitive Dictionary script is a dictionary that has case-insensitive keys. An internal dictionary maps lowercase keys to (key,value) pairs. All key lookups are done against the lowercase keys, but all methods that expose keys to the user retrieve e lowercanal keys. ...
Python

Dictionary Tools

Dictionary Tools script shows you a collection of some dictionary tools. ...
Python

Dictionary tool for lazy typers

... generating and updating dictionaries. It saves couple of keystrokes, making routine dict operations easier. ...
Python

Clean implementation for Ordered Dictionary

This script allows you to record the order in which items are added. This implementation uses much less code than the others by extending not well-known class DictMixin. ...
Python

List and dictionary observer

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. ...
Python