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.

Files for pydotdict, version 3.3.11
Filename, size File type Python version Upload date Hashes
Filename, size pydotdict-3.3.11.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

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