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

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page