webargs


Namewebargs JSON
Version 8.4.0 PyPI version JSON
download
home_pagehttps://github.com/marshmallow-code/webargs
SummaryDeclarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp.
upload_time2024-01-07 22:59:27
maintainer
docs_urlNone
authorSteven Loria
requires_python>=3.8
licenseMIT
keywords webargs http flask django bottle tornado aiohttp request arguments validation parameters rest api marshmallow
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            *******
webargs
*******

.. image:: https://badgen.net/pypi/v/webargs
    :target: https://pypi.org/project/webargs/
    :alt: PyPI version

.. image:: https://github.com/marshmallow-code/webargs/actions/workflows/build-release.yml/badge.svg
    :target: https://github.com/marshmallow-code/webargs/actions/workflows/build-release.yml
    :alt: Build status

.. image:: https://readthedocs.org/projects/webargs/badge/
   :target: https://webargs.readthedocs.io/
   :alt: Documentation

.. image:: https://badgen.net/badge/marshmallow/3
    :target: https://marshmallow.readthedocs.io/en/latest/upgrading.html
    :alt: marshmallow 3 compatible

.. image:: https://badgen.net/badge/code%20style/black/000
    :target: https://github.com/ambv/black
    :alt: code style: black

Homepage: https://webargs.readthedocs.io/

webargs is a Python library for parsing and validating HTTP request objects, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp.

.. code-block:: python

    from flask import Flask
    from webargs import fields
    from webargs.flaskparser import use_args

    app = Flask(__name__)


    @app.route("/")
    @use_args({"name": fields.Str(required=True)}, location="query")
    def index(args):
        return "Hello " + args["name"]


    if __name__ == "__main__":
        app.run()

    # curl http://localhost:5000/\?name\='World'
    # Hello World

Install
=======

::

    pip install -U webargs

webargs supports Python >= 3.8.


Documentation
=============

Full documentation is available at https://webargs.readthedocs.io/.

Support webargs
===============

webargs is maintained by a group of 
`volunteers <https://webargs.readthedocs.io/en/latest/authors.html>`_.
If you'd like to support the future of the project, please consider
contributing to our Open Collective:

.. image:: https://opencollective.com/marshmallow/donate/button.png
    :target: https://opencollective.com/marshmallow
    :width: 200
    :alt: Donate to our collective

Professional Support
====================

Professionally-supported webargs is available through the
`Tidelift Subscription <https://tidelift.com/subscription/pkg/pypi-webargs?utm_source=pypi-webargs&utm_medium=referral&utm_campaign=readme>`_.

Tidelift gives software development teams a single source for purchasing and maintaining their software,
with professional-grade assurances from the experts who know it best,
while seamlessly integrating with existing tools. [`Get professional support`_]

.. _`Get professional support`: https://tidelift.com/subscription/pkg/pypi-webargs?utm_source=pypi-webargs&utm_medium=referral&utm_campaign=readme

.. image:: https://user-images.githubusercontent.com/2379650/45126032-50b69880-b13f-11e8-9c2c-abd16c433495.png
    :target: https://tidelift.com/subscription/pkg/pypi-webargs?utm_source=pypi-webargs&utm_medium=referral&utm_campaign=readme
    :alt: Get supported marshmallow with Tidelift

Security Contact Information
============================

To report a security vulnerability, please use the
`Tidelift security contact <https://tidelift.com/security>`_.
Tidelift will coordinate the fix and disclosure.

Project Links
=============

- Docs: https://webargs.readthedocs.io/
- Changelog: https://webargs.readthedocs.io/en/latest/changelog.html
- Contributing Guidelines: https://webargs.readthedocs.io/en/latest/contributing.html
- PyPI: https://pypi.python.org/pypi/webargs
- Issues: https://github.com/marshmallow-code/webargs/issues
- Ecosystem / related packages: https://github.com/marshmallow-code/webargs/wiki/Ecosystem


License
=======

MIT licensed. See the `LICENSE <https://github.com/marshmallow-code/webargs/blob/dev/LICENSE>`_ file for more details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/marshmallow-code/webargs",
    "name": "webargs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "webargs,http,flask,django,bottle,tornado,aiohttp,request,arguments,validation,parameters,rest,api,marshmallow",
    "author": "Steven Loria",
    "author_email": "sloria1@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c3/68/ef9359442cf2d5479fb4ea711fdea739de18ca0601e49bc43e5dba06dbe0/webargs-8.4.0.tar.gz",
    "platform": null,
    "description": "*******\nwebargs\n*******\n\n.. image:: https://badgen.net/pypi/v/webargs\n    :target: https://pypi.org/project/webargs/\n    :alt: PyPI version\n\n.. image:: https://github.com/marshmallow-code/webargs/actions/workflows/build-release.yml/badge.svg\n    :target: https://github.com/marshmallow-code/webargs/actions/workflows/build-release.yml\n    :alt: Build status\n\n.. image:: https://readthedocs.org/projects/webargs/badge/\n   :target: https://webargs.readthedocs.io/\n   :alt: Documentation\n\n.. image:: https://badgen.net/badge/marshmallow/3\n    :target: https://marshmallow.readthedocs.io/en/latest/upgrading.html\n    :alt: marshmallow 3 compatible\n\n.. image:: https://badgen.net/badge/code%20style/black/000\n    :target: https://github.com/ambv/black\n    :alt: code style: black\n\nHomepage: https://webargs.readthedocs.io/\n\nwebargs is a Python library for parsing and validating HTTP request objects, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp.\n\n.. code-block:: python\n\n    from flask import Flask\n    from webargs import fields\n    from webargs.flaskparser import use_args\n\n    app = Flask(__name__)\n\n\n    @app.route(\"/\")\n    @use_args({\"name\": fields.Str(required=True)}, location=\"query\")\n    def index(args):\n        return \"Hello \" + args[\"name\"]\n\n\n    if __name__ == \"__main__\":\n        app.run()\n\n    # curl http://localhost:5000/\\?name\\='World'\n    # Hello World\n\nInstall\n=======\n\n::\n\n    pip install -U webargs\n\nwebargs supports Python >= 3.8.\n\n\nDocumentation\n=============\n\nFull documentation is available at https://webargs.readthedocs.io/.\n\nSupport webargs\n===============\n\nwebargs is maintained by a group of \n`volunteers <https://webargs.readthedocs.io/en/latest/authors.html>`_.\nIf you'd like to support the future of the project, please consider\ncontributing to our Open Collective:\n\n.. image:: https://opencollective.com/marshmallow/donate/button.png\n    :target: https://opencollective.com/marshmallow\n    :width: 200\n    :alt: Donate to our collective\n\nProfessional Support\n====================\n\nProfessionally-supported webargs is available through the\n`Tidelift Subscription <https://tidelift.com/subscription/pkg/pypi-webargs?utm_source=pypi-webargs&utm_medium=referral&utm_campaign=readme>`_.\n\nTidelift gives software development teams a single source for purchasing and maintaining their software,\nwith professional-grade assurances from the experts who know it best,\nwhile seamlessly integrating with existing tools. [`Get professional support`_]\n\n.. _`Get professional support`: https://tidelift.com/subscription/pkg/pypi-webargs?utm_source=pypi-webargs&utm_medium=referral&utm_campaign=readme\n\n.. image:: https://user-images.githubusercontent.com/2379650/45126032-50b69880-b13f-11e8-9c2c-abd16c433495.png\n    :target: https://tidelift.com/subscription/pkg/pypi-webargs?utm_source=pypi-webargs&utm_medium=referral&utm_campaign=readme\n    :alt: Get supported marshmallow with Tidelift\n\nSecurity Contact Information\n============================\n\nTo report a security vulnerability, please use the\n`Tidelift security contact <https://tidelift.com/security>`_.\nTidelift will coordinate the fix and disclosure.\n\nProject Links\n=============\n\n- Docs: https://webargs.readthedocs.io/\n- Changelog: https://webargs.readthedocs.io/en/latest/changelog.html\n- Contributing Guidelines: https://webargs.readthedocs.io/en/latest/contributing.html\n- PyPI: https://pypi.python.org/pypi/webargs\n- Issues: https://github.com/marshmallow-code/webargs/issues\n- Ecosystem / related packages: https://github.com/marshmallow-code/webargs/wiki/Ecosystem\n\n\nLicense\n=======\n\nMIT licensed. See the `LICENSE <https://github.com/marshmallow-code/webargs/blob/dev/LICENSE>`_ file for more details.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp.",
    "version": "8.4.0",
    "project_urls": {
        "Changelog": "https://webargs.readthedocs.io/en/latest/changelog.html",
        "Funding": "https://opencollective.com/marshmallow",
        "Homepage": "https://github.com/marshmallow-code/webargs",
        "Issues": "https://github.com/marshmallow-code/webargs/issues",
        "Tidelift": "https://tidelift.com/subscription/pkg/pypi-webargs?utm_source=pypi-marshmallow&utm_medium=pypi"
    },
    "split_keywords": [
        "webargs",
        "http",
        "flask",
        "django",
        "bottle",
        "tornado",
        "aiohttp",
        "request",
        "arguments",
        "validation",
        "parameters",
        "rest",
        "api",
        "marshmallow"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ad529de0e7cc7dfa1352f5923549c06b8126fede748e6c07ecb37bc7c53331d3",
                "md5": "6df0c97c624c71bb0e1609e4de294b03",
                "sha256": "22324305fbca6a2c4cce1235280e8b56372fb3211a8dac2ac8ed1948315a6f53"
            },
            "downloads": -1,
            "filename": "webargs-8.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6df0c97c624c71bb0e1609e4de294b03",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 31597,
            "upload_time": "2024-01-07T22:59:24",
            "upload_time_iso_8601": "2024-01-07T22:59:24.801459Z",
            "url": "https://files.pythonhosted.org/packages/ad/52/9de0e7cc7dfa1352f5923549c06b8126fede748e6c07ecb37bc7c53331d3/webargs-8.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c368ef9359442cf2d5479fb4ea711fdea739de18ca0601e49bc43e5dba06dbe0",
                "md5": "baf0c65c1f0f7ca334916aa825586b37",
                "sha256": "ea99368214a4ce613924be99d71db58c269631e95eff4fa09b7354e52dc006a5"
            },
            "downloads": -1,
            "filename": "webargs-8.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "baf0c65c1f0f7ca334916aa825586b37",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 67555,
            "upload_time": "2024-01-07T22:59:27",
            "upload_time_iso_8601": "2024-01-07T22:59:27.611516Z",
            "url": "https://files.pythonhosted.org/packages/c3/68/ef9359442cf2d5479fb4ea711fdea739de18ca0601e49bc43e5dba06dbe0/webargs-8.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-07 22:59:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "marshmallow-code",
    "github_project": "webargs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "webargs"
}
        
Elapsed time: 0.16568s