Awesome Open Source
Awesome Open Source


.. image:: :target: :alt: PyPI version

.. image:: :target: :alt: Build status

.. image:: :target: :alt: Documentation

.. image:: :target: :alt: marshmallow 3 compatible

.. image:: :target: :alt: code style: black


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__)

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

if __name__ == "__main__":

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



pip install -U webargs

webargs supports Python >= 3.6.


Full documentation is available at

Support webargs

webargs is maintained by a group of volunteers <>_. If you'd like to support the future of the project, please consider contributing to our Open Collective:

.. image:: :target: :width: 200 :alt: Donate to our collective

Professional Support

Professionally-supported webargs is available through the Tidelift Subscription <>_.

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:

.. image:: :target: :alt: Get supported marshmallow with Tidelift

Security Contact Information

To report a security vulnerability, please use the Tidelift security contact <>_. Tidelift will coordinate the fix and disclosure.

Project Links


MIT licensed. See the LICENSE <>_ file for more details.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (50,967
hacktoberfest (4,216
django (973
flask (498
validation (311
aiohttp (68
pyramid (24
marshmallow (23

Find Open Source By Browsing 7,000 Topics Across 59 Categories