Metadata-Version: 2.0
Name: Maat2
Version: 0.8
Summary: Maat is a extensible transformation and validation library for Python
Home-page: https://github.com/Attumm/Maat
Author: Melvin Bijman
Author-email: bijman.m.m@gmail.com
License: MIT
Keywords: validation transformation typechecking dictionary
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Requires-Dist: appdirs
Requires-Dist: coverage
Requires-Dist: deepdiff
Requires-Dist: enum34
Requires-Dist: hypothesis
Requires-Dist: jsonpickle
Requires-Dist: packaging
Requires-Dist: pyparsing
Requires-Dist: six
Requires-Dist: unittest2
Requires-Dist: linecache2
Requires-Dist: traceback2
Requires-Dist: py

=========================
Maat
=========================

.. image:: https://travis-ci.org/Attumm/Maat.svg?branch=master
    :target: https://travis-ci.org/Attumm/Maat

Maat is a easy extensible transformation and validation library for Python.
Build for corner cases.

The project is named after the ancient egyption god Maat.
Her scale was used to weight the heart as described by book of the dead.

Since the scale is magical besides validating values it can transform them too.

Maat is an dictionary to dictionary tool, that is to say that from the input dictionary and validation dictionary
an new dictionary is created.
each value of dictionary to be validated is passed through their selected validator functions.
The result is an validated new dictionary.

Examples
----------------------------------

.. code-block:: python

    >>> import maat
    >>> user = {'name': 'John Doe'}
    >>> user_validation = {'name': {'validator': 'str'}}
    >>> maat.scale(user, user_validation)
    {'name': 'John Doe'}

More to come...



