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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page