Easy, opinionated Flask input/output handling with Flask-restx and Marshmallow. Provides decorators to validate request data against Marshmallow schemas and serialize responses. Current version 1.0.1. Maintenance mode, low release cadence.
pip install flask-acceptsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize Accepts with Flask app, then decorate routes with @accepts to validate JSON input against a Marshmallow schema.
Use `from flask_accepts import Accepts` (capitalized) and instantiate `Accepts(app)`.
Stack decorators as: @accepts('json', schema=...) first, then @responds(schema=...) if used.Consider migrating to Flask-RESTx, webargs, or marshmallow directly for active support.
Use `@accepts('json', schema=...)` for JSON; other types like 'form' are not directly supported.No resource links recorded.