Sat, 04 May 2024 08:44:56 UTC | login

Information for RPM python-bunch-1.0.1-1.el6.src.rpm

ID7483
Namepython-bunch
Version1.0.1
Release1.el6
Epoch
Archsrc
SummaryPython dictionary with attribute-style access
Descriptionpython-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 Time2015-04-23 16:20:54 GMT
Size10.75 KB
691680743574154dc1fdadc2b7dddb9a
LicenseMIT
Buildrootbananas6-el6-build-1696-2911
Provides No Provides
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
dos2unix
python-nose
python-setuptools
python2-devel
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 2 of 2
Name ascending sort Size
bunch-1.0.1.tar.gz6.42 KB
python-bunch.spec2.30 KB
Component of No Buildroots