tornado


Nametornado JSON
Version 4.4.2 PyPI version JSON
home_pagehttp://www.tornadoweb.org/
SummaryTornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
upload_time2016-09-30 23:31:38
maintainer
docs_urlNone
authorFacebook
requires_python
licensehttp://www.apache.org/licenses/LICENSE-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
Coveralis test coverage No Coveralis.
            Tornado Web Server
==================

.. image:: https://badges.gitter.im/Join%20Chat.svg
   :alt: Join the chat at https://gitter.im/tornadoweb/tornado
   :target: https://gitter.im/tornadoweb/tornado?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

`Tornado <http://www.tornadoweb.org>`_ is a Python web framework and
asynchronous networking library, originally developed at `FriendFeed
<http://friendfeed.com>`_.  By using non-blocking network I/O, Tornado
can scale to tens of thousands of open connections, making it ideal for
`long polling <http://en.wikipedia.org/wiki/Push_technology#Long_Polling>`_,
`WebSockets <http://en.wikipedia.org/wiki/WebSocket>`_, and other
applications that require a long-lived connection to each user.

Hello, world
------------

Here is a simple "Hello, world" example web app for Tornado:

.. code-block:: python

    import tornado.ioloop
    import tornado.web

    class MainHandler(tornado.web.RequestHandler):
        def get(self):
            self.write("Hello, world")

    def make_app():
        return tornado.web.Application([
            (r"/", MainHandler),
        ])

    if __name__ == "__main__":
        app = make_app()
        app.listen(8888)
        tornado.ioloop.IOLoop.current().start()

This example does not use any of Tornado's asynchronous features; for
that see this `simple chat room
<https://github.com/tornadoweb/tornado/tree/stable/demos/chat>`_.

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

Documentation and links to additional resources are available at
http://www.tornadoweb.org
            

Raw data

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "", 
    "upload_time": "2016-09-30 23:31:38", 
    "author": "Facebook", 
    "home_page": "http://www.tornadoweb.org/", 
    "download_url": "https://pypi.python.org/packages/1e/7c/ea047f7bbd1ff22a7f69fe55e7561040e3e54d6f31da6267ef9748321f98/tornado-4.4.2.tar.gz", 
    "platform": "", 
    "version": "4.4.2", 
    "cheesecake_documentation_id": null, 
    "description": "Tornado Web Server\n==================\n\n.. image:: https://badges.gitter.im/Join%20Chat.svg\n   :alt: Join the chat at https://gitter.im/tornadoweb/tornado\n   :target: https://gitter.im/tornadoweb/tornado?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n\n`Tornado <http://www.tornadoweb.org>`_ is a Python web framework and\nasynchronous networking library, originally developed at `FriendFeed\n<http://friendfeed.com>`_.  By using non-blocking network I/O, Tornado\ncan scale to tens of thousands of open connections, making it ideal for\n`long polling <http://en.wikipedia.org/wiki/Push_technology#Long_Polling>`_,\n`WebSockets <http://en.wikipedia.org/wiki/WebSocket>`_, and other\napplications that require a long-lived connection to each user.\n\nHello, world\n------------\n\nHere is a simple \"Hello, world\" example web app for Tornado:\n\n.. code-block:: python\n\n    import tornado.ioloop\n    import tornado.web\n\n    class MainHandler(tornado.web.RequestHandler):\n        def get(self):\n            self.write(\"Hello, world\")\n\n    def make_app():\n        return tornado.web.Application([\n            (r\"/\", MainHandler),\n        ])\n\n    if __name__ == \"__main__\":\n        app = make_app()\n        app.listen(8888)\n        tornado.ioloop.IOLoop.current().start()\n\nThis example does not use any of Tornado's asynchronous features; for\nthat see this `simple chat room\n<https://github.com/tornadoweb/tornado/tree/stable/demos/chat>`_.\n\nDocumentation\n-------------\n\nDocumentation and links to additional resources are available at\nhttp://www.tornadoweb.org", 
    "lcname": "tornado", 
    "bugtrack_url": "", 
    "github": false, 
    "name": "tornado", 
    "license": "http://www.apache.org/licenses/LICENSE-2.0", 
    "summary": "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.", 
    "split_keywords": [], 
    "author_email": "python-tornado@googlegroups.com", 
    "urls": [
        {
            "has_sig": false, 
            "upload_time": "2016-09-30T23:32:03", 
            "comment_text": "", 
            "python_version": "cp35", 
            "url": "https://pypi.python.org/packages/c0/73/e550ea3d60b4313f3aca2d5362344498657ad11f6ebedd1f77a74928cb12/tornado-4.4.2-cp35-cp35m-win32.whl", 
            "md5_digest": "3ab2f002c6026188d5b9662f62acc6e9", 
            "downloads": 0, 
            "filename": "tornado-4.4.2-cp35-cp35m-win32.whl", 
            "packagetype": "bdist_wheel", 
            "path": "c0/73/e550ea3d60b4313f3aca2d5362344498657ad11f6ebedd1f77a74928cb12/tornado-4.4.2-cp35-cp35m-win32.whl", 
            "size": 406101
        }, 
        {
            "has_sig": false, 
            "upload_time": "2016-09-30T23:32:06", 
            "comment_text": "", 
            "python_version": "cp35", 
            "url": "https://pypi.python.org/packages/9a/b9/71befb05ff6d6ba0c71336c9793109e6569f171fd8330b071b1cdf639931/tornado-4.4.2-cp35-cp35m-win_amd64.whl", 
            "md5_digest": "f390eb4a8bdf3676b4b1bd57d081cc38", 
            "downloads": 0, 
            "filename": "tornado-4.4.2-cp35-cp35m-win_amd64.whl", 
            "packagetype": "bdist_wheel", 
            "path": "9a/b9/71befb05ff6d6ba0c71336c9793109e6569f171fd8330b071b1cdf639931/tornado-4.4.2-cp35-cp35m-win_amd64.whl", 
            "size": 406666
        }, 
        {
            "has_sig": false, 
            "upload_time": "2016-09-30T23:31:38", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/1e/7c/ea047f7bbd1ff22a7f69fe55e7561040e3e54d6f31da6267ef9748321f98/tornado-4.4.2.tar.gz", 
            "md5_digest": "b4816ea209118667ffc52ce9ff06ac85", 
            "downloads": 0, 
            "filename": "tornado-4.4.2.tar.gz", 
            "packagetype": "sdist", 
            "path": "1e/7c/ea047f7bbd1ff22a7f69fe55e7561040e3e54d6f31da6267ef9748321f98/tornado-4.4.2.tar.gz", 
            "size": 460193
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}