[ANN] AutoRecalcDict 0.1.1 released

S

Steven W. Orr

AutoRecalcDict is a subclass of dict that allows programmers to create user
defined dependencies and functions on target keys.

You can find it at

http://pypi.python.org/pypi/AutoRecalcDict/0.1.1

I recently was designing tests for radio frequency analysis (about which, I know
nothing). All of the tests had a dict of parameterizations that was peculiar to
that test, and they all had a key called 'freqs' whose value was a simple list
of just a few frequencies. But then I ran into a test that had a couple hundred
frequencies. What I really needed was to have four keys called 'freqs', 'start',
'stop', and 'step', so that freqs would be recalculated to be the return value
of the range function, if ever start, stop or step ever changed.

This is my first time contribution to the python community, so I suspect that I
might have made a few misteaks in packaging. If you see things that should be
altered, please let me know. And since I know what it does, suggestions for
better docs that speak to you (instead of me) are very welcome.

What I got out of this personally was a good learning experience in a number of
aspects that I had not previously nailed down.

Thanks for checking it out.

--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,824
Messages
2,569,755
Members
45,745
Latest member
JohannaLev

Latest Threads

Top