Object utils to make life easier
Project description
>>> from sloot.object import dictobj >>> d = dictobj({'a': 'a', 'b': 'b'}, c='c') >>> print d dictobj({'a': 'a', 'c': 'c', 'b': 'b'}) >>> d.a 'a' >>> d.a = 3 >>> print d dictobj({'a': 3, 'c': 'c', 'b': 'b'}) >>> print dict(d) {'a': 3, 'c': 'c', 'b': 'b'}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sloot.object-1.1.0.tar.gz
(3.0 kB
view hashes)