BareNecessitiesProvides the bn module containing a dictionary allowing attribute access to values | |
Download |
BareNecessities Ranking & Summary
Advertisement
BareNecessities Tags
BareNecessities Description
Provides the bn module containing a dictionary allowing attribute access to values BareNecessities is a Python library that provides the bn module containing a dictionary allowing attribute access to values.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' ) Requirements: · Python What's New in This Release: · Updated MANIFEST.in to include the docs and tests
BareNecessities Related Software