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 Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page