Skip to main content

DynObject class which allows dynamic adding of attributes on the run and dict-like access to the attributes.

Project description

# dynobject Dynamic object class which allows dynamic adding of attributes on the run and dict-like access to the attributes.

`python >>> d = DynObject() >>> d.x = 10  # dynamic adding of attributes >>> d.x  # access to attributes 10 >>> d["x"]  # access to attribute like to a dict 10 `

Project details


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