Dictionary Mixin / Framework

License: Freeware
Date Added: 29 January, 2013
Category: Scripts / Others
Author: activestate.com

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.


Advertisements



 

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.


Operating Systems:  Python, Windows, Linux, BSD, Solaris, Mac OS


Dictionary Mixin / Framework Related Downloads
 
Download nldict 0.9.3

nldict 0.9.3  nldict is a Ruby interface to the on-line version of the one volume Van Dale Hedendaags Nederlands, a renowned dictionary of the modern Dutch language.

Download Free Quiz-Buddy 4.1

Free Quiz-Buddy 4.1  Free Quiz-Buddy is a free program that makes it easy to memorize various subjects. Adjusts to your way of learning. Includes 20 quizzes on Multiplication, State Capitals, Spanish, Spelling, French. Funny sounds, skins, four quiz modes and more.

Download BiblePro 12.10.3

BiblePro 12.10.3  BiblePro includes 1.75 million verse links, 250,000 commentaries, 43 bibles, more than 100 maps, and an interface with free updates for life. BiblePro uses the same buttons, tools, look, and feel of Microsoft Word and Outlook.

Download Bible Seeker 2.03

Bible Seeker 2.03  Bible Seeker is Freeware Bible Reader integrated with a dictionary, two commentaries, and full text searching. Resources included: KJV Bible, Easton's Bible Dictionary, Matthew Henry's Concise Commentary, Notes from the KJV Translator

Download Sozluk 1.6

Sozluk 1.6  Expandable Turkish<->English, Turkish<->German, Turkish<->French, Turkish<->Italian Dictionary

Download WikiSearch Toolbar 0.1

WikiSearch Toolbar 0.1  This toolbar allows to enter a word or phrase into it's search box and immediately runs a query on Wikipedia to show the results. This is very similar to the famous Google toolbar. It is integrated into Microsoft Internet Explorer 5.0+

Download Audio Plus Bible Study 12.10.3

Audio Plus Bible Study 12.10.3  Interactively study 40 modern Bibles with verse by verse commentaries, dictionaries, Strong's Greek and Hebrew lexicon, 20,000 topics,100,000 references, 15,000 comments, a note pad, highlighting, red lettering, compare gospel stories, side by side

Download Dictionary 1.0

Dictionary 1.0  TheFreeDictionary.com presents a free IE Dictionary plug-in. 1) Open the browser and navigate to any web page. 2) Select (or double-click) any word. 3) Right-click and select"Definition"in the menu.

Download Free Bible InterFaith Explorer 2.1

Free Bible InterFaith Explorer 2.1  A free Bible and InterFaith Explorer tool. Includes a very easy to use interface great for anyone wishing to quickly look up a passage in the Bible or work with InterFaith studies.

Others Popular Downloads
 
Download mvnForum .2GA 1.0

mvnForum .2GA 1.0  mvnForum is an open source, powerful, easy to use, easy to setup bulletin board (forum) built on the Java J2EE technology (Jsp/Servlet). mvnForum is compatible with any Servlet Containers which supports Jsp 1.2 and Servlet 2.3.

Download Aardvark Topsites PHP 5.2.0

Aardvark Topsites PHP 5.2.0  Aardvark Topsites PHP has a ton of features. I'm not going to bore you with all the inane details, but here is a list of the main features. - Members ranks can be shown on their button.

Download Guestbook class 1.0

Guestbook class 1.0  This class is meant to manage a guest book storing its records either in XML files database or in a SQL database. Currently it supports only MySQL databases.

Download Php Board Script 6.4.3

Php Board Script 6.4.3  Php Board Script allows you to create a simple discussion forum. It is made in Php, without My SQL, which on each server or Webspace is installed in well 5 minutes.

Download MOC Designs PHP News 1.1

MOC Designs PHP News 1.1  MOC Designs PHP News is a PHP-SQL powered, dynamic, news editor and displayer. Adding news on your website is done through a web-page form, saving you the time of editing your news page and then uploading the news page again.

Download CMS Mini 0.2.2

CMS Mini 0.2.2  CMS Mini is a very&nbsp;small&nbsp;PHP application for manage content for small web sites. Not intended for a cooperative group of editors and rewiers: simply one editor can insert new contents, immediatly pubblished on web: "one task, one click".

Download m-phorum 0.3

m-phorum 0.3  m-phorum is&nbsp;a new small phorum, using PHP with&nbsp;one mysql database backend. Tested on php 4.3, apache 1.3.27 & mysql 3.23.52. It is simple and fast.

Download PDF::Reader 1.0

PDF::Reader 1.0  The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.

Download guest-magic 0.1.2

guest-magic 0.1.2  guest-magic is&nbsp;a friendly tool for the rapid provisioning of Xen Guest Domains. It is written in Python with a pyGTK/Glade based user interface for maximum user friendliness. The code can be easily ported across many operating systems.

Submit Reviews for Dictionary Mixin / Framework
- required fields