Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: Review Request: python-bunch - python dictionary with attribute-style access
https://bugzilla.redhat.com/show_bug.cgi?id=575185
Summary: Review Request: python-bunch - python dictionary with
attribute-style access
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: medium
Component: Package Review
AssignedTo: nobody(a)fedoraproject.org
ReportedBy: a.badger(a)gmail.com
QAContact: extras-qa(a)fedoraproject.org
CC: notting(a)redhat.com, fedora-package-review(a)redhat.com
Estimated Hours: 0.0
Classification: Fedora
Spec URL:
http://toshio.fedorapeople.org/packages/python-bunch.spec
SRPM URL:
http://toshio.fedorapeople.org/packages/python-bunch-1.0.0-1.fc12.src.rpm
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')])
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.