Skip to main content

Lazily-evaluated dictionaries

Project description

A LazyDicitonary behaves mostly like an ordinary dict, except:

  • item values are frozen upon reading, and

  • values that are callable and take 1 or 0 arguments are called once before freezing

    • if the value takes 1 argument, the LazyDictionary instance will be supplied as the argument.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lazydict-1.0.0b2.tar.gz (2.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page