{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"},{"label":"Application","url":"https://skillfed.io/packages/category/internet-www-http-wsgi-application"}],"enrichment":{"capability":"webargs parses and validates HTTP request arguments (query strings, form data, JSON bodies, headers) against declarative schemas, with built-in support for Flask, Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp.","skillfed_tags":["request-validation","rest-api","web-framework"],"use_cases":["Validate query parameters in a REST endpoint without writing manual type checks or try-catch blocks.","Parse and validate JSON request bodies in an API view using declarative field schemas.","Extract and coerce form data in a handler, with automatic error responses for invalid input.","Centralize request validation logic across multiple endpoints using reusable marshmallow schemas.","Build a REST API where request validation errors are automatically formatted and returned to clients."],"what_it_does":"webargs is a declarative HTTP request parsing and validation library built on top of marshmallow schemas. It lets you define what arguments your web endpoint expects\u2014their names, types, and validation rules\u2014then automatically extracts and validates them from incoming requests. Instead of manually checking request objects and writing validation code, you decorate your handler with a schema and webargs handles the rest, returning either validated data or raising validation errors.\n\nThe library integrates with popular Python web frameworks including Flask, Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp, so you use the same schema definitions across different frameworks. It supports extracting arguments from query strings, form data, JSON bodies, headers, and cookies. The underlying validation engine is marshmallow, so you get all of marshmallow's field types, custom validators, and error handling.","worth_installing":"Yes. webargs is a mature, actively maintained library in production/stable status with no known vulnerabilities, low install friction, and broad framework support. It solves a common problem\u2014request validation\u2014in a declarative, reusable way. Install it if you are building web APIs or handlers in any of the supported frameworks and want to avoid manual argument parsing and validation boilerplate."},"id":"webargs","links":{"html":"https://skillfed.io/packages/webargs","md":"https://skillfed.io/packages/webargs.md","pypi":"https://pypi.org/project/webargs/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-10-29","license_spdx":null,"license_treatment":"permissive","name":"webargs","python_support":"supports_current","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."},"popularity":{"monthly_downloads":3929873,"position":2451,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"8.7.1"}
