Skip to main content

Production ready Python 3 dictionary with dot style access

Project description

DotDict implementation for Python 3

Production ready implementation of a dictionary allowing dot style access to stored values.

Raises KeyError if the corresponding key does not exist.

Usage


    >>> d = dict(a=1, b=2)
    >>> dd = DotDict(d)
    >>> dd.a
    1
    >>> dd.b
    2

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

pydotdict-3.3.11.tar.gz (2.4 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