Skip to main content

A Python dict that behaves a bit like a JavaScript object

Project description

Thing: A Python dict that behaves a bit like a JavaScript object

A Thing is a subclass of dict that behaves a little like a Javascript object, insofar as 'item' style access - x['foo'] - and 'attribute' style access - x.foo - are equivalent, and can be used interchangeably, subject of course to the limitation imposed by Python syntax itself, that an attribute name in x.name has to be a constant.

Read the documentation at http://rjgtoys.readthedocs.org/projects/thing/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

rjgtoys_thing-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

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