This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

An AutoRecalcDict is a subclass of dict that allows the user to create a standard python dict, but to also allow specifications for dependency lists that are on specific targets. Typical usage would be when you want a dict entry to automagically be recomputed if a dependency changes.

For example:

ard is an AutoRecalcDict and has keys called ‘target’, ‘dep1’, ‘dep2’ and ‘dep3’. The user wants the value of ard[‘target’] to be recomputed via a user defined function ff.

The calling sequence of function ff is defined as having three arguments: 1. self (ff will be converted to an instance method of ard) 2. target (the index into ard) 3. deplist (the list of keys that target depends upon).

Included in autorecalcdict.py is a class called DepDescFunc. This is used to create the instance needed by AutoRecalcDict to know what targets are dependent on which dependency lists and the function needed to update the target.

See the module for examples of usage.

Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
AutoRecalcDict-0.1.1.zip (17.5 kB) Copy SHA256 Checksum SHA256 Source Jun 22, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting