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 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 NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page