Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python-bunch | Distribution: Fedora Project |
Version: 1.0.1 | Vendor: Fedora Project |
Release: 4.el7 | Build date: Wed Dec 18 03:32:01 2013 |
Group: Development/Languages | Build host: buildvm-19.phx2.fedoraproject.org |
Size: 35857 | Source RPM: python-bunch-1.0.1-4.el7.src.rpm |
Packager: Fedora Project | |
Url: http://github.com/dsc/bunch | |
Summary: Python dictionary with attribute-style access |
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')])
MIT
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Dec 29 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.1-1 - New upstream release that adds pyyaml and json serialization * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 30 2010 Toshio Kuraotmi <toshio@fedoraproject.org> - 1.0.0-2 - Rebuild for python-2.7 * Fri Mar 19 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.0-1 - Initial Fedora Build
/usr/lib/python2.7/site-packages/bunch /usr/lib/python2.7/site-packages/bunch-1.0.1-py2.7.egg-info /usr/lib/python2.7/site-packages/bunch-1.0.1-py2.7.egg-info/PKG-INFO /usr/lib/python2.7/site-packages/bunch-1.0.1-py2.7.egg-info/SOURCES.txt /usr/lib/python2.7/site-packages/bunch-1.0.1-py2.7.egg-info/dependency_links.txt /usr/lib/python2.7/site-packages/bunch-1.0.1-py2.7.egg-info/top_level.txt /usr/lib/python2.7/site-packages/bunch/__init__.py /usr/lib/python2.7/site-packages/bunch/__init__.pyc /usr/lib/python2.7/site-packages/bunch/__init__.pyo /usr/share/doc/python-bunch-1.0.1 /usr/share/doc/python-bunch-1.0.1/LICENSE.txt /usr/share/doc/python-bunch-1.0.1/README.rst
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 13:09:03 2024