{ "info": { "author": "Veeti Paananen", "author_email": "veeti.paananen@rojekti.fi", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries" ], "description": "decent\n======\n\n**Decent** is a data validation library for Python 2 & 3. There are many like it, but this one is mine.\n\nRead the documentation_ for more details.\n\nQuick example\n-------------\n\n.. code-block:: python\n\n from decent import *\n\n schema = Schema({\n 'name': All(Strip(), NotEmpty()),\n 'age': Range(min=0, max=200),\n })\n\n try:\n output = schema(input)\n ...\n except Invalid as e:\n print('\\n'.join(e.messages))\n ...\n\nThanks\n------\n\nThis library takes inspiration from Voluptuous_ and Good_, but doesn't implement many of their more magical features. You may be interested in them if you find yourself wanting more.\n\nLinks\n-----\n\n* Documentation_ on Read the Docs\n* Decent on PyPI_\n\nLicense\n-------\n\nMIT, see the ``LICENSE`` file.\n\n.. _Documentation: https://decent.readthedocs.org/en/latest\n.. _Voluptuous: https://github.com/alecthomas/voluptuous\n.. _Good: https://github.com/kolypto/py-good\n.. _PyPI: https://pypi.python.org/pypi/decent", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/veeti/decent", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "decent", "package_url": "https://pypi.org/project/decent/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/decent/", "project_urls": { "Homepage": "https://github.com/veeti/decent" }, "release_url": "https://pypi.org/project/decent/0.1.0.dev1/", "requires_dist": null, "requires_python": null, "summary": "Simple data validation library", "version": "0.1.0.dev1" }, "last_serial": 1629125, "releases": { "0.1.0.dev1": [] }, "urls": [] }