Information for RPM python-bunch-1.0.1-1.el6.src.rpm
ID | 7483 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Name | python-bunch | ||||||||
Version | 1.0.1 | ||||||||
Release | 1.el6 | ||||||||
Epoch | |||||||||
Arch | src | ||||||||
Summary | Python dictionary with attribute-style access | ||||||||
Description | python-bunch provides a python class which can perform as a dict whose keys are also accessible as attributes, similar to JavaScript objects. For instance:: >>> import bunch >>> people = bunch.Bunch({'alice': 'here', 'bob': 'there'}) >>> print people['alice'], people.alice here here The piece of python-bunch that sets it apart from similar modules found inside other projects is the bunchify() function which recursively converts from a dict to a Bunch:: >>> multi_level = {'array': ['scalar', {'mapping': 'to show recursion'} ]} >>> bunch.bunchify(multi_level) Bunch(array=['scalar', Bunch(mapping='to show recursion')]) | ||||||||
Build Time | 2015-04-23 16:20:54 GMT | ||||||||
Size | 10.75 KB | ||||||||
691680743574154dc1fdadc2b7dddb9a | |||||||||
License | MIT | ||||||||
Buildroot | bananas6-el6-build-1696-2911 | ||||||||
Provides | No Provides | ||||||||
Obsoletes | No Obsoletes | ||||||||
Conflicts | No Conflicts | ||||||||
Requires |
|
||||||||
Recommends | No Recommends | ||||||||
Suggests | No Suggests | ||||||||
Supplements | No Supplements | ||||||||
Enhances | No Enhances | ||||||||
Files |
|
||||||||
Component of | No Buildroots |