Metadata-Version: 1.1
Name: valueobject
Version: 1.0.0
Summary: ValueObject is a dict-like object that exposes keys as attributes.
Home-page: https://gitlab.com/rbuchholz/valueobject
Author: Felix Schwarz, Martin Häcker, Robert Buchholz
Author-email: rbu@goodpoint.de, spamfaenger@gmx.de
License: ISC
Description: ValueObject |Build Status|
        ==========================
        
        License: ISC - See LICENSE file
        
        ``ValueObject`` is a ``dict``-like object that exposes keys as
        attributes. You can use it like a regular dictionary (in fact, it is a
        subclass and does not override its ``__init__``). You can use attribute
        or item access to get or set values.
        
        ::
        
            >>> from valueobject import ValueObject
            >>> vo = ValueObject(key=1)
            >>> vo['key']
            1
            >>> vo.key
            1
            >>> vo['key'] += 1
            >>> vo.key += 1
            >>> vo['key']
            3
            >>> vo.key
            3
        
        Usability notes:
        ----------------
        
        -  If you need to access a key that is not a valid Python identifier
           (for example, it includes spaces), use regular dict access.
        -  All regular ``object``, ``dict`` and ``ValueObject`` methods will be
           returned on attribute access. A key such as ``copy`` needs to be
           accessed via item access syntax (e.g. ``valueobject['copy']``).
        
        .. |Build Status| image:: https://travis-ci.org/rbu/valueobject.svg?branch=master
           :target: https://travis-ci.org/rbu/valueobject
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
