addict ExtendeD
Project description
addicted = addict ExtendeD
This library extends ‘addict‘ with some features.
NoAttrDict
Works like addict DictExt, except that it returns a ‘NoAttr‘ value when an attribute is missing. Please read noattr package notes for explaination about ‘NoAttr‘
from addicted import Dict,NoAttrDict d1 = DictExt() d2 = NoAttrDict()
print type(d1.a.b.c.d) >>> <class ‘addicted.DictExt’>
print type(d2.a.b.c.d) >>> <class ‘noattr.NoAttrType’>
News
0.0.1 (2015-07-30)
First version
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
addicted-0.0.1.tar.gz
(1.9 kB
view hashes)