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.

Files for lazydict, version 1.0.0b2
Filename, size File type Python version Upload date Hashes
Filename, size lazydict-1.0.0b2.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page