flask-inputs2
=============
|Project Status| |image1| |License|
Introduction
------------
WTForms is awesome for validating POST data. What about other request
data?
The **flask-inputs2** extension adds support for WTForms to validate
request data from args to headers to json.
The `Flask-Inputs <https://github.com/nathancahill/flask-inputs>`__
project is no longer maintained, and has not been for many years. This
project exists to provide a drop-in replacement for Flask-Inputs
ensuring support for modern Python releases.
Installation
------------
To install flask-inputs2, simply:
.. code:: bash
$ pip install flask-inputs2
- JSON validation requires the optional
`jsonschema <https://pypi.python.org/pypi/jsonschema>`__ package
- e-mail validation requires
`email_validator <https://pypi.python.org/pypi/email_validator>`__
package
.. code:: bash
$ pip install flask-inputs2 jsonschema email_validator
Contributing
------------
.. code:: bash
make clean install test build
Documentation
-------------
Original documentation for
`Flask-Inputs <https://pypi.python.org/pypi/Flask-Inputs>`__ is
available at http://pythonhosted.org/Flask-Inputs, there is no
functional change in flask-inputs2.
License
-------
`MIT <./LICENSE.md>`__
.. |Project Status| image:: https://img.shields.io/badge/status-active-green
.. |image1| image:: https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11-blue
.. |License| image:: https://img.shields.io/badge/license-MIT-green
:target: ./LICENSE.md
Raw data
{
"_id": null,
"home_page": "http://github.com/durera/flask-inputs/",
"name": "flask-inputs2",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "flask validation wtforms",
"author": "David Parker",
"author_email": "durera@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/70/36/a9654423080894cf27afa7561a41f1aff4901a375347bb8cb1da637fd703/flask_inputs2-1.0.0.tar.gz",
"platform": null,
"description": "flask-inputs2\n=============\n\n|Project Status| |image1| |License|\n\nIntroduction\n------------\n\nWTForms is awesome for validating POST data. What about other request\ndata?\n\nThe **flask-inputs2** extension adds support for WTForms to validate\nrequest data from args to headers to json.\n\nThe `Flask-Inputs <https://github.com/nathancahill/flask-inputs>`__\nproject is no longer maintained, and has not been for many years. This\nproject exists to provide a drop-in replacement for Flask-Inputs\nensuring support for modern Python releases.\n\nInstallation\n------------\n\nTo install flask-inputs2, simply:\n\n.. code:: bash\n\n $ pip install flask-inputs2\n\n- JSON validation requires the optional\n `jsonschema <https://pypi.python.org/pypi/jsonschema>`__ package\n- e-mail validation requires\n `email_validator <https://pypi.python.org/pypi/email_validator>`__\n package\n\n.. code:: bash\n\n $ pip install flask-inputs2 jsonschema email_validator\n\nContributing\n------------\n\n.. code:: bash\n\n make clean install test build\n\nDocumentation\n-------------\n\nOriginal documentation for\n`Flask-Inputs <https://pypi.python.org/pypi/Flask-Inputs>`__ is\navailable at http://pythonhosted.org/Flask-Inputs, there is no\nfunctional change in flask-inputs2.\n\nLicense\n-------\n\n`MIT <./LICENSE.md>`__\n\n.. |Project Status| image:: https://img.shields.io/badge/status-active-green\n.. |image1| image:: https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11-blue\n.. |License| image:: https://img.shields.io/badge/license-MIT-green\n :target: ./LICENSE.md\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Flask request data validation",
"version": "1.0.0",
"project_urls": {
"Homepage": "http://github.com/durera/flask-inputs/"
},
"split_keywords": [
"flask",
"validation",
"wtforms"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1d76c36794b56eee561fe47a0d577f98caeccf26c226ab20b1b3f0fac8d5c360",
"md5": "813e06ac522a268df7a621b8b81e35b1",
"sha256": "51459f37ad01bea3904717bbee47a1c24c0b76b6c09483dfb8db1dc2c5ea22cb"
},
"downloads": -1,
"filename": "flask_inputs2-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "813e06ac522a268df7a621b8b81e35b1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 5445,
"upload_time": "2024-05-24T14:12:03",
"upload_time_iso_8601": "2024-05-24T14:12:03.857152Z",
"url": "https://files.pythonhosted.org/packages/1d/76/c36794b56eee561fe47a0d577f98caeccf26c226ab20b1b3f0fac8d5c360/flask_inputs2-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7036a9654423080894cf27afa7561a41f1aff4901a375347bb8cb1da637fd703",
"md5": "2d6b80ac544b35dc49ad496b8b58385a",
"sha256": "c62ef8a426c1a7eacbf756f396592a92bd3897833003f2d7c2a573e86bf15352"
},
"downloads": -1,
"filename": "flask_inputs2-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "2d6b80ac544b35dc49ad496b8b58385a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 5683,
"upload_time": "2024-05-24T14:12:06",
"upload_time_iso_8601": "2024-05-24T14:12:06.203961Z",
"url": "https://files.pythonhosted.org/packages/70/36/a9654423080894cf27afa7561a41f1aff4901a375347bb8cb1da637fd703/flask_inputs2-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-24 14:12:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "durera",
"github_project": "flask-inputs",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "flask-inputs2"
}