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


Release history Release notifications

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page