aiohttp_utils


Nameaiohttp_utils JSON
Version 3.0.0 PyPI version JSON
download
home_pagehttps://github.com/sloria/aiohttp_utils
SummaryHandy utilities for aiohttp.web applications.
upload_time2017-03-16 12:06:54
maintainer
docs_urlNone
authorSteven Loria
requires_python
licenseCopyright 2015-2017 Steven Loria
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage
            Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Description: *************
        aiohttp_utils
        *************
        
        .. image:: https://badge.fury.io/py/aiohttp_utils.png
            :target: http://badge.fury.io/py/aiohttp_utils
            :alt: Latest version
        
        .. image:: https://travis-ci.org/sloria/aiohttp_utils.png
            :target: https://travis-ci.org/sloria/aiohttp_utils
            :alt: Travis-CI
        
        **aiohttp_utils** provides handy utilities for building `aiohttp.web <https://aiohttp.readthedocs.io/>`_ applications.
        
        
        * Method-based handlers ("resources")
        * Routing utilities
        * Content negotiation with JSON rendering by default
        
        **Everything is optional**. You can use as much (or as little) of this toolkit as you need.
        
        .. code-block:: python
        
            from aiohttp import web
            from aiohttp_utils import Response, routing, negotiation, run
        
            app = web.Application(router=routing.ResourceRouter())
        
            # Method-based handlers
            class HelloResource:
        
                async def get(self, request):
                    name = request.GET.get('name', 'World')
                    return Response({
                        'message': 'Hello ' + name
                    })
        
        
            app.router.add_resource_object('/', HelloResource())
        
            # Content negotiation
            negotiation.setup(
                app, renderers={
                    'application/json': negotiation.render_json
                }
            )
        
        Install
        =======
        ::
        
            $ pip install aiohttp_utils
        
        Documentation
        =============
        
        Full documentation is available at https://aiohttp-utils.readthedocs.io/.
        
        Project Links
        =============
        
        - Docs: https://aiohttp-utils.readthedocs.io/
        - Changelog: https://aiohttp-utils.readthedocs.io/en/latest/changelog.html
        - PyPI: https://pypi.python.org/pypi/aiohttp_utils
        - Issues: https://github.com/sloria/aiohttp_utils/issues
        
        License
        =======
        
        MIT licensed. See the bundled `LICENSE <https://github.com/sloria/aiohttp_utils/blob/master/LICENSE>`_ file for more details.
        
Keywords: aiohttp_utils aiohttp utilities aiohttp.web
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6

            

Raw data

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "", 
    "upload_time": "2017-03-16 12:06:54", 
    "author": "Steven Loria", 
    "home_page": "https://github.com/sloria/aiohttp_utils", 
    "github_user": "sloria", 
    "download_url": "https://pypi.python.org/packages/e6/58/02c2c52868456933264a5af8bd19c7b42aa9f44330c40bd7079f0aec4be8/aiohttp_utils-3.0.0.tar.gz", 
    "platform": "", 
    "version": "3.0.0", 
    "cheesecake_documentation_id": null, 
    "description": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nDescription: *************\n        aiohttp_utils\n        *************\n        \n        .. image:: https://badge.fury.io/py/aiohttp_utils.png\n            :target: http://badge.fury.io/py/aiohttp_utils\n            :alt: Latest version\n        \n        .. image:: https://travis-ci.org/sloria/aiohttp_utils.png\n            :target: https://travis-ci.org/sloria/aiohttp_utils\n            :alt: Travis-CI\n        \n        **aiohttp_utils** provides handy utilities for building `aiohttp.web <https://aiohttp.readthedocs.io/>`_ applications.\n        \n        \n        * Method-based handlers (\"resources\")\n        * Routing utilities\n        * Content negotiation with JSON rendering by default\n        \n        **Everything is optional**. You can use as much (or as little) of this toolkit as you need.\n        \n        .. code-block:: python\n        \n            from aiohttp import web\n            from aiohttp_utils import Response, routing, negotiation, run\n        \n            app = web.Application(router=routing.ResourceRouter())\n        \n            # Method-based handlers\n            class HelloResource:\n        \n                async def get(self, request):\n                    name = request.GET.get('name', 'World')\n                    return Response({\n                        'message': 'Hello ' + name\n                    })\n        \n        \n            app.router.add_resource_object('/', HelloResource())\n        \n            # Content negotiation\n            negotiation.setup(\n                app, renderers={\n                    'application/json': negotiation.render_json\n                }\n            )\n        \n        Install\n        =======\n        ::\n        \n            $ pip install aiohttp_utils\n        \n        Documentation\n        =============\n        \n        Full documentation is available at https://aiohttp-utils.readthedocs.io/.\n        \n        Project Links\n        =============\n        \n        - Docs: https://aiohttp-utils.readthedocs.io/\n        - Changelog: https://aiohttp-utils.readthedocs.io/en/latest/changelog.html\n        - PyPI: https://pypi.python.org/pypi/aiohttp_utils\n        - Issues: https://github.com/sloria/aiohttp_utils/issues\n        \n        License\n        =======\n        \n        MIT licensed. See the bundled `LICENSE <https://github.com/sloria/aiohttp_utils/blob/master/LICENSE>`_ file for more details.\n        \nKeywords: aiohttp_utils aiohttp utilities aiohttp.web\nPlatform: UNKNOWN\nClassifier: Development Status :: 2 - Pre-Alpha\nClassifier: Intended Audience :: Developers\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Natural Language :: English\nClassifier: Programming Language :: Python :: 3\nClassifier: Programming Language :: Python :: 3.4\nClassifier: Programming Language :: Python :: 3.5\nClassifier: Programming Language :: Python :: 3.6\n", 
    "tox": true, 
    "lcname": "aiohttp_utils", 
    "bugtrack_url": null, 
    "github": true, 
    "coveralls": true, 
    "name": "aiohttp_utils", 
    "license": "Copyright 2015-2017 Steven Loria", 
    "travis_ci": true, 
    "github_project": "aiohttp_utils", 
    "summary": "Handy utilities for aiohttp.web applications.", 
    "split_keywords": [], 
    "author_email": "sloria1@gmail.com", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2017-03-16T12:06:52", 
            "comment_text": "", 
            "python_version": "py2.py3", 
            "url": "https://pypi.python.org/packages/4d/83/8a489e23d067075c24b113b84af6d6df81302f5cbb26dc0ca1300e732590/aiohttp_utils-3.0.0-py2.py3-none-any.whl", 
            "md5_digest": "ae2ebfa6f7ba90f0022d51a5d02ead24", 
            "downloads": 0, 
            "filename": "aiohttp_utils-3.0.0-py2.py3-none-any.whl", 
            "packagetype": "bdist_wheel", 
            "path": "4d/83/8a489e23d067075c24b113b84af6d6df81302f5cbb26dc0ca1300e732590/aiohttp_utils-3.0.0-py2.py3-none-any.whl", 
            "size": 12495
        }, 
        {
            "has_sig": false, 
            "upload_time": "2017-03-16T12:06:54", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/e6/58/02c2c52868456933264a5af8bd19c7b42aa9f44330c40bd7079f0aec4be8/aiohttp_utils-3.0.0.tar.gz", 
            "md5_digest": "bb479b8e6faf0d01c416e074ed5a3e22", 
            "downloads": 0, 
            "filename": "aiohttp_utils-3.0.0.tar.gz", 
            "packagetype": "sdist", 
            "path": "e6/58/02c2c52868456933264a5af8bd19c7b42aa9f44330c40bd7079f0aec4be8/aiohttp_utils-3.0.0.tar.gz", 
            "size": 18270
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}