Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    BareNecessities 0.2.8

    Download button

    No screenshots available
    Downloads: 450  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    James Gardner | More programs
    MIT/X Consortium Lic... / FREE
    April 24th, 2011, 23:58 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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'
     )



    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Added OrderedDict and MarbleLike

      


    TAGS:

    bn module | attribute access | Python library | value | attribute | access

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM