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
Release history Release notifications | RSS feed
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
File details
Details for the file rjgtoys_thing-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: rjgtoys_thing-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f847b53499543af5877b95a301168c5d4256c779299fec94ca34b2fad253479 |
|
MD5 | 20ecf6c3fd99dfde2702f08d4e44c773 |
|
BLAKE2b-256 | f7ebaab1c3adf13e01be2a87f4bb8d47b7cfb62e7f600778f7a7cce14c95cf3e |