BareNecessities
+++++++++++++++

.. contents ::

Summary
=======

Provides the ``bn`` module containing a dictionary allowing attribute access to
values - I use it so much I've made into a package.

Get Started
===========

* Download and install from source or copy and paste from below:

::

    class AttributeDict(dict):
        def __getattr__(self, name):
            if not self.has_key(name):
                raise AttributeError('No such attribute %r'%name)
            return self.__getitem__(name)
    
        def __setattr__(self, name, value):
            raise NotImplementedError(
                'You cannot set attributes of this object directly'
            )
    
Author
======

`James Gardner <http://jimmyg.org>`_

