Information about the package, python-bunch, which is shipped with common Linux distributions. The python-bunch package is designed for, Python dictionary with attribute-style access.
Package Name:
python-bunch
Summary:
Python dictionary with attribute-style access
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')])
Architecture:
noarch
Version:
1.0.1
Release:
1.el6
Size:
13 k
Repository:
epel
From Repository:
Licence:
MIT
Control the python-bunch package with the following handy commands outlined below.
yum install python-bunch
This command will install python-bunch on the server.
yum remove python-bunch
This command will un-install python-bunch on the server. When you run this command, you will be asked if you are sure that you want to remove python-bunch, so you have to manually confirm that you want to do this.
yum -y remove python-bunch
This command will un-install python-bunch on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-bunch when using the -y flag.
yum update python-bunch
This command will update python-bunch to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-bunch, so you have to manually confirm that you want to do this.
yum -y update python-bunch
This command will update python-bunch to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-bunch when using the -y flag.
yum info python-bunch
This command will show you core information about the python-bunch package.
yum deplist python-bunch
This command will show you the dependencies for python-bunch. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update python-bunch
This command will check if there is an update waiting on python-bunch. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.