{ "info": { "author": "Steven Loria", "author_email": "sloria1@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "**********************\nmarshmallow-validators\n**********************\n\n.. image:: https://badge.fury.io/py/marshmallow-validators.svg\n :target: http://badge.fury.io/py/marshmallow-validators\n :alt: Latest version\n\n.. image:: https://img.shields.io/travis/marshmallow-code/marshmallow-validators/pypi.svg\n :target: https://travis-ci.org/marshmallow-code/marshmallow-validators\n :alt: Travis-CI\n\n.. image:: https://img.shields.io/badge/marshmallow-3-blue.svg\n :target: https://marshmallow.readthedocs.io/en/latest/upgrading.html\n :alt: marshmallow 3 compatible\n\nHomepage: https://marshmallow-validators.readthedocs.io/\n\nUse 3rd-party validators (e.g. from WTForms and colander) with marshmallow.\n\n.. code-block:: python\n\n from marshmallow import Schema, fields\n from marshmallow_validators.wtforms import from_wtforms\n from wtforms.validators import Email, Length\n\n # Leverage WTForms il8n\n locales = ['de_DE', 'de']\n\n class UserSchema(Schema):\n email = fields.Str(\n validate=from_wtforms([Email()], locales=locales)\n )\n password = fields.Str(\n validate=from_wtforms([Length(min=8, max=300)], locales=locales)\n )\n\n UserSchema().validate({'email': 'invalid', 'password': 'abc'})\n # {'email': ['Ung\u00fcltige Email-Adresse.'],\n # 'password': ['Feld muss zwischen 8 und 300 Zeichen beinhalten.']}\n\nGet It Now\n==========\n\n::\n\n $ pip install -U marshmallow-validators\n\n\nDocumentation\n=============\n\nFull documentation is available at https://marshmallow-validators.readthedocs.io/ .\n\nProject Links\n=============\n\n- Docs: https://marshmallow-validators.readthedocs.io/\n- Changelog: https://marshmallow-validators.readthedocs.io/en/latest/changelog.html\n- PyPI: https://pypi.python.org/pypi/marshmallow-validators\n- Issues: https://github.com/marshmallow-code/marshmallow-validators/issues\n\nLicense\n=======\n\nMIT licensed. See the bundled `LICENSE `_ file for more details.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/marshmallow-code/marshmallow-validators", "keywords": "validators marshmallow", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "marshmallow-validators", "package_url": "https://pypi.org/project/marshmallow-validators/", "platform": "", "project_url": "https://pypi.org/project/marshmallow-validators/", "project_urls": { "Homepage": "https://github.com/marshmallow-code/marshmallow-validators" }, "release_url": "https://pypi.org/project/marshmallow-validators/3.0.0/", "requires_dist": [ "marshmallow (>=2.0.0b4)" ], "requires_python": "", "summary": "Use 3rd-party validators (e.g. from WTForms and colander) with marshmallow", "version": "3.0.0" }, "last_serial": 3839019, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "78ce2c40e8e4f14f85f181a7e3cf9f29", "sha256": "dc0a8e991dbf334a4c546b6e713eb0faa66424a37f9ee320cfce1d2299bf6be3" }, "downloads": -1, "filename": "marshmallow_validators-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78ce2c40e8e4f14f85f181a7e3cf9f29", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7923, "upload_time": "2015-08-30T21:23:44", "url": "https://files.pythonhosted.org/packages/46/d1/6f1b71abfbced531136941866c475976e6a122e7885b4948fa3e38a63327/marshmallow_validators-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1fc4beb4a64c7468937b39aa5a49a74b", "sha256": "70a19128666514a329c902a702575aa9d979735259bfeb689e192bc28d134ba6" }, "downloads": -1, "filename": "marshmallow-validators-1.0.0.tar.gz", "has_sig": false, "md5_digest": "1fc4beb4a64c7468937b39aa5a49a74b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10192, "upload_time": "2015-08-30T21:23:40", "url": "https://files.pythonhosted.org/packages/2f/d2/8aa3e22d0af70ee7ccc709cf1c1a7ee826a21a1adc8affbfe211eca911a9/marshmallow-validators-1.0.0.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "dbdf82ae5e1024b5bca53f017a388a50", "sha256": "5e7aa8b2f51d600c9041510c1423c2de6bce1983f5838978133329e8c1176e45" }, "downloads": -1, "filename": "marshmallow_validators-2.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dbdf82ae5e1024b5bca53f017a388a50", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7690, "upload_time": "2015-12-29T01:46:35", "url": "https://files.pythonhosted.org/packages/82/9f/58a4b610c97671dff9399754e9501b7f863b74efe0c92f39c4bf5efe31e2/marshmallow_validators-2.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "087efcd71a3cf84f76a047b158705ddd", "sha256": "8e95fa1804b49fb1d953951546ea2992820778545f597db7daccab0cfd439525" }, "downloads": -1, "filename": "marshmallow-validators-2.0.0.tar.gz", "has_sig": false, "md5_digest": "087efcd71a3cf84f76a047b158705ddd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9942, "upload_time": "2015-12-29T01:46:27", "url": "https://files.pythonhosted.org/packages/20/ea/2fb38d3931b816f2c2c0db3d51f4f8f26e95135b6577dec0f496f287d357/marshmallow-validators-2.0.0.tar.gz" } ], "3.0.0": [ { "comment_text": "", "digests": { "md5": "30932b4d2cf3d103034a18f1bd1ecd46", "sha256": "38bc71a4522cbb5c5467fde2ff165c9f1f62a123dea5e5b1be5aa2d44f23f116" }, "downloads": -1, "filename": "marshmallow_validators-3.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "30932b4d2cf3d103034a18f1bd1ecd46", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4551, "upload_time": "2018-05-06T18:03:41", "url": "https://files.pythonhosted.org/packages/92/26/bf3e04af8ffdf47cebd769e7082ded35dcdcb6969bbbb02660b6854e045a/marshmallow_validators-3.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "afd1634cc7847c63706b203facd1f5bf", "sha256": "93c2a1a76db7f5b76512e86494df9acea876b938c28d42d0428ebe914741493c" }, "downloads": -1, "filename": "marshmallow-validators-3.0.0.tar.gz", "has_sig": false, "md5_digest": "afd1634cc7847c63706b203facd1f5bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9643, "upload_time": "2018-05-06T18:03:42", "url": "https://files.pythonhosted.org/packages/ee/5b/a1bd96990cdaa5994202abd99d116e56dd4de7cc83d5d52b6ba367fe6b8b/marshmallow-validators-3.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "30932b4d2cf3d103034a18f1bd1ecd46", "sha256": "38bc71a4522cbb5c5467fde2ff165c9f1f62a123dea5e5b1be5aa2d44f23f116" }, "downloads": -1, "filename": "marshmallow_validators-3.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "30932b4d2cf3d103034a18f1bd1ecd46", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4551, "upload_time": "2018-05-06T18:03:41", "url": "https://files.pythonhosted.org/packages/92/26/bf3e04af8ffdf47cebd769e7082ded35dcdcb6969bbbb02660b6854e045a/marshmallow_validators-3.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "afd1634cc7847c63706b203facd1f5bf", "sha256": "93c2a1a76db7f5b76512e86494df9acea876b938c28d42d0428ebe914741493c" }, "downloads": -1, "filename": "marshmallow-validators-3.0.0.tar.gz", "has_sig": false, "md5_digest": "afd1634cc7847c63706b203facd1f5bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9643, "upload_time": "2018-05-06T18:03:42", "url": "https://files.pythonhosted.org/packages/ee/5b/a1bd96990cdaa5994202abd99d116e56dd4de7cc83d5d52b6ba367fe6b8b/marshmallow-validators-3.0.0.tar.gz" } ] }