{"id":18646864,"url":"https://github.com/marshmallow-code/marshmallow-validators","last_synced_at":"2025-04-11T12:32:06.156Z","repository":{"id":51763352,"uuid":"41643119","full_name":"marshmallow-code/marshmallow-validators","owner":"marshmallow-code","description":"Use 3rd-party validators (e.g. from WTForms and colander) with marshmallow","archived":false,"fork":false,"pushed_at":"2021-05-10T05:22:25.000Z","size":55,"stargazers_count":23,"open_issues_count":3,"forks_count":2,"subscribers_count":4,"default_branch":"dev","last_synced_at":"2024-10-30T00:00:14.465Z","etag":null,"topics":["colander","deserialization","marshmallow","serialization","validation","wtforms"],"latest_commit_sha":null,"homepage":"https://marshmallow-validators.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marshmallow-code.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-30T21:06:23.000Z","updated_at":"2023-12-15T02:55:04.000Z","dependencies_parsed_at":"2022-09-26T16:31:15.743Z","dependency_job_id":null,"html_url":"https://github.com/marshmallow-code/marshmallow-validators","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marshmallow-code%2Fmarshmallow-validators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marshmallow-code%2Fmarshmallow-validators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marshmallow-code%2Fmarshmallow-validators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marshmallow-code%2Fmarshmallow-validators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marshmallow-code","download_url":"https://codeload.github.com/marshmallow-code/marshmallow-validators/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248289910,"owners_count":21078922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colander","deserialization","marshmallow","serialization","validation","wtforms"],"created_at":"2024-11-07T06:23:05.857Z","updated_at":"2025-04-11T12:32:06.131Z","avatar_url":"https://github.com/marshmallow-code.png","language":"Python","readme":"**********************\nmarshmallow-validators\n**********************\n\n.. image:: https://badgen.net/pypi/v/marshmallow-validators\n    :target: https://pypi.org/project/marshmallow-validators/\n    :alt: PyPI version\n\n.. image:: https://badgen.net/travis/marshmallow-code/marshmallow-validators/dev\n    :target: https://travis-ci.org/marshmallow-code/marshmallow-validators\n    :alt: TravisCI build status\n\n.. image:: https://badgen.net/badge/marshmallow/2,3?list=1\n    :target: https://marshmallow.readthedocs.io/en/latest/upgrading.html\n    :alt: marshmallow 2/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\n    class UserSchema(Schema):\n        email = fields.Str(validate=from_wtforms([Email()], locales=locales))\n        password = fields.Str(\n            validate=from_wtforms([Length(min=8, max=300)], locales=locales)\n        )\n\n\n    UserSchema().validate({\"email\": \"invalid\", \"password\": \"abc\"})\n    # {'email': ['Ungültige 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 \u003chttps://github.com/marshmallow-code/marshmallow-validators/blob/pypi/LICENSE\u003e`_ file for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarshmallow-code%2Fmarshmallow-validators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarshmallow-code%2Fmarshmallow-validators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarshmallow-code%2Fmarshmallow-validators/lists"}