python-bunch-1.0.1-6.mga6.noarch.rpm


Advertisement

Description

python-bunch - Python dictionary with attribute-style access

Property Value
Distribution Mageia 6.0
Repository Mageia Core x86_64
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 distrib-coffee.ipsl.jussieu.fr
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')])

Alternatives

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

Requires

Name Value
python(abi) == 2.7

Provides

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

Download

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

Files

Path
/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/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/share/doc/python-bunch/LICENSE.txt
/usr/share/doc/python-bunch/README.rst

Changelog

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.beta18.13.mga6.x86_64.rpm Python binding for libcaca
python-cached-property-1.3.0-1.mga6.noarch.rpm A decorator for caching properties in classes
python-cachetools-1.1.6-1.mga6.noarch.rpm Extensible memoizing collections and decorators
python-cagraph-1.2-3.mga6.noarch.rpm A PyGTK Cairo chart widget
python-cairo-1.13.2-1.mga6.x86_64.rpm A python wrapper for the Cairo libraries
python-cairo-devel-1.13.2-1.mga6.x86_64.rpm Development files for python-cairo
python-cairocffi-0.7.2-1.mga6.noarch.rpm cffi-based cairo bindings for Python
python-cairosvg-1.0.19-1.mga6.noarch.rpm A Simple SVG Converter for Cairo
python-caja-1.18.0-1.mga6.x86_64.rpm Python bindings for Caja
python-caldav-0.4.0-1.mga6.noarch.rpm CalDAV (RFC4791) client library
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-7.mga6.noarch.rpm Beautiful stack traces for Python
python-ccnet-6.0.7-1.mga6.noarch.rpm Python 2 bindings for ccnet
python-celementtree-1.0.5-15.mga6.x86_64.rpm Add-on to the standard ElementTree package
Advertisement
Advertisement