webargs


Namewebargs JSON
Version 2.1.0 PyPI version JSON
download
home_pagehttps://github.com/sloria/webargs
SummaryA friendly library for parsing and validating HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, webapp2, Falcon, and aiohttp.
upload_time2018-04-01 16:56:38
maintainer
docs_urlNone
authorSteven Loria
requires_python
licenseMIT
keywords webargs http flask django bottle tornado aiohttp webapp2 request arguments validation parameters rest api marshmallow
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            =======
webargs
=======

.. image:: https://badge.fury.io/py/webargs.svg
    :target: http://badge.fury.io/py/webargs

.. image:: https://travis-ci.org/sloria/webargs.svg?branch=pypi
    :target: https://travis-ci.org/sloria/webargs

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

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

.. code-block:: python

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

    app = Flask(__name__)

    hello_args = {
        'name': fields.Str(required=True)
    }

    @app.route('/')
    @use_args(hello_args)
    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 >= 2.7 or >= 3.4.


Documentation
-------------

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

Project Links
-------------

- Docs: http://webargs.readthedocs.io/
- Changelog: http://webargs.readthedocs.io/en/latest/changelog.html
- PyPI: https://pypi.python.org/pypi/webargs
- Issues: https://github.com/sloria/webargs/issues


License
-------

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



            

Raw data

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "webargs,http,flask,django,bottle,tornado,aiohttp,webapp2,request,arguments,validation,parameters,rest,api,marshmallow", 
    "upload_time": "2018-04-01 16:56:38", 
    "author": "Steven Loria", 
    "home_page": "https://github.com/sloria/webargs", 
    "github_user": "sloria", 
    "download_url": "https://pypi.python.org/packages/9c/9b/a6dce2167bf86d65f1055d9f4f62b523c5891a7beeb15c8fe63f8948a37f/webargs-2.1.0.tar.gz", 
    "platform": "", 
    "version": "2.1.0", 
    "cheesecake_documentation_id": null, 
    "description": "=======\nwebargs\n=======\n\n.. image:: https://badge.fury.io/py/webargs.svg\n    :target: http://badge.fury.io/py/webargs\n\n.. image:: https://travis-ci.org/sloria/webargs.svg?branch=pypi\n    :target: https://travis-ci.org/sloria/webargs\n\nHomepage: https://webargs.readthedocs.io/\n\nwebargs is a Python library for parsing and validating HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, webapp2, 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    hello_args = {\n        'name': fields.Str(required=True)\n    }\n\n    @app.route('/')\n    @use_args(hello_args)\n    def index(args):\n        return 'Hello ' + args['name']\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 >= 2.7 or >= 3.4.\n\n\nDocumentation\n-------------\n\nFull documentation is available at https://webargs.readthedocs.io/.\n\nProject Links\n-------------\n\n- Docs: http://webargs.readthedocs.io/\n- Changelog: http://webargs.readthedocs.io/en/latest/changelog.html\n- PyPI: https://pypi.python.org/pypi/webargs\n- Issues: https://github.com/sloria/webargs/issues\n\n\nLicense\n-------\n\nMIT licensed. See the `LICENSE <https://github.com/sloria/webargs/blob/dev/LICENSE>`_ file for more details.\n\n\n", 
    "tox": true, 
    "lcname": "webargs", 
    "bugtrack_url": null, 
    "github": true, 
    "coveralls": false, 
    "name": "webargs", 
    "license": "MIT", 
    "travis_ci": true, 
    "github_project": "webargs", 
    "summary": "A friendly library for parsing and validating HTTP request arguments, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, webapp2, Falcon, and aiohttp.", 
    "split_keywords": [
        "webargs", 
        "http", 
        "flask", 
        "django", 
        "bottle", 
        "tornado", 
        "aiohttp", 
        "webapp2", 
        "request", 
        "arguments", 
        "validation", 
        "parameters", 
        "rest", 
        "api", 
        "marshmallow"
    ], 
    "author_email": "sloria1@gmail.com", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2018-04-01T16:56:37", 
            "comment_text": "", 
            "python_version": "py2.py3", 
            "url": "https://pypi.python.org/packages/16/09/ff2331edeb8cf550e34e367660d3e5a1a47d66a274bdeddade2713ba9864/webargs-2.1.0-py2.py3-none-any.whl", 
            "md5_digest": "7ac5b34549d5436fb9fc6e54dba65bc4", 
            "downloads": 0, 
            "filename": "webargs-2.1.0-py2.py3-none-any.whl", 
            "packagetype": "bdist_wheel", 
            "path": "16/09/ff2331edeb8cf550e34e367660d3e5a1a47d66a274bdeddade2713ba9864/webargs-2.1.0-py2.py3-none-any.whl", 
            "digests": {
                "sha256": "fd0b3b0d419a1699b840520b21003d365905089d6ef57091fd08f7d05bf506c2", 
                "md5": "7ac5b34549d5436fb9fc6e54dba65bc4"
            }, 
            "sha256_digest": "fd0b3b0d419a1699b840520b21003d365905089d6ef57091fd08f7d05bf506c2", 
            "size": 25713
        }, 
        {
            "has_sig": false, 
            "upload_time": "2018-04-01T16:56:38", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/9c/9b/a6dce2167bf86d65f1055d9f4f62b523c5891a7beeb15c8fe63f8948a37f/webargs-2.1.0.tar.gz", 
            "md5_digest": "a2c70c9c99609cf789bb58087f57b9e9", 
            "downloads": 0, 
            "filename": "webargs-2.1.0.tar.gz", 
            "packagetype": "sdist", 
            "path": "9c/9b/a6dce2167bf86d65f1055d9f4f62b523c5891a7beeb15c8fe63f8948a37f/webargs-2.1.0.tar.gz", 
            "digests": {
                "sha256": "d15d81531b7c0f73dec140bf0cd45c15f061f88eb08fcc29854d94682fd3911c", 
                "md5": "a2c70c9c99609cf789bb58087f57b9e9"
            }, 
            "sha256_digest": "d15d81531b7c0f73dec140bf0cd45c15f061f88eb08fcc29854d94682fd3911c", 
            "size": 24052
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}