python-bunch - Python dictionary with attribute-style access

Property Value
Distribution Mageia Cauldron
Repository Mageia Core i586
Package name python-bunch
Package version 1.0.1
Package release 6.mga6
Package architecture noarch
Package type rpm
Installed size 35.02 KB
Download size 16.13 KB
Official Mirror
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')])


Package Version Architecture Repository
python-bunch-1.0.1-6.mga6.noarch.rpm 1.0.1 noarch Mageia Core
python-bunch - - -


Name Value
python(abi) == 2.7


Name Value
python-bunch == 1.0.1-6.mga6
pythonegg(2)(bunch) == 1.0.1


Type URL
Binary Package python-bunch-1.0.1-6.mga6.noarch.rpm
Source Package python-bunch-1.0.1-6.mga6.src.rpm

Install Howto

  1. Enable Mageia Core repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install python-bunch rpm package:
    # urpmi python-bunch




2016-02-08 - umeabot <umeabot> 1.0.1-6.mga6
+ Revision: 947770
- Mageia 6 Mass Rebuild
2014-10-15 - umeabot <umeabot> 1.0.1-5.mga5
+ Revision: 743769
- Second Mageia 5 Mass Rebuild
2014-09-27 - tv <tv> 1.0.1-4.mga5
+ Revision: 728113
- rebuild for missing pythoneggs deps
2014-09-16 - umeabot <umeabot> 1.0.1-3.mga5
+ Revision: 687910
- Mageia 5 Mass Rebuild
+ pterjan <pterjan>
- Rebuild for new Python
2014-02-21 - philippem <philippem> 1.0.1-1.mga5
+ Revision: 595319
- imported package python-bunch

See Also

Package Description
python-caca-0.99-0.beta19.1.mga7.i586.rpm Python binding for libcaca
python-cached-property-1.3.0-2.mga7.noarch.rpm A decorator for caching properties in classes
python-cachetools-1.1.6-2.mga7.noarch.rpm Extensible memoizing collections and decorators
python-cagraph-1.2-4.mga7.noarch.rpm A PyGTK Cairo chart widget
python-caja-1.20.0-1.mga7.i586.rpm Python bindings for Caja
python-carrot-0.10.7-10.mga6.noarch.rpm AMQP Messaging Framework for Python
python-caslib-0.3.1-8.mga6.noarch.rpm Python interface to CAS
python-catcher-0.1.7-8.mga7.noarch.rpm Beautiful stack traces for Python
python-celementtree-1.0.5-15.mga6.i586.rpm Add-on to the standard ElementTree package
python-ceph-compat-10.2.9-1.mga7.i586.rpm Compatibility package for Cephs python libraries
python-cephfs-10.2.9-1.mga7.i586.rpm Python libraries for Ceph distributed file system
python-cffi-doc-1.11.1-1.mga7.noarch.rpm Documentation for CFFI
python-cgen-2012.1-11.mga6.noarch.rpm C/C++ source generation from an AST
python-characteristic-14.3.0-3.mga7.noarch.rpm Python library that eases the chores of implementing attributes
python-cherrypy-3.8.0-4.mga7.noarch.rpm A Python-based framework for web application development