The `Bunch` class is a utility class in the `galaxy.util.bunch` module of Python. It provides a simple way to create objects that act as both dictionaries and instances with attribute-style access. By creating an instance of `Bunch`, you can access its attributes using dot notation as well as key-value pairs using dictionary-style access. This class is useful when you need a lightweight object that can store and retrieve data in a flexible manner.
Python Bunch - 48 examples found. These are the top rated real world Python examples of galaxy.util.bunch.Bunch extracted from open source projects. You can rate examples to help us improve the quality of examples.