tornado


Nametornado JSON
Version 4.5.2 PyPI version JSON
download
home_pagehttp://www.tornadoweb.org/
SummaryTornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
upload_time2017-08-27 20:39:41
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.
coveralls test coverage No coveralls.
            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": "2017-08-27 20:39:41", 
    "author": "Facebook", 
    "home_page": "http://www.tornadoweb.org/", 
    "download_url": "https://pypi.python.org/packages/fa/14/52e2072197dd0e63589e875ebf5984c91a027121262aa08f71a49b958359/tornado-4.5.2.tar.gz", 
    "platform": "", 
    "version": "4.5.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": "2017-08-27T20:39:57", 
            "comment_text": "", 
            "python_version": "cp35", 
            "url": "https://pypi.python.org/packages/39/64/eaaeaec2e2ba3a31f9dd4cefe1e25e35127278b3c9220a04944bfd10bbbf/tornado-4.5.2-cp35-cp35m-win32.whl", 
            "md5_digest": "f9b6802f08b0180ff7df301db00871d9", 
            "downloads": 0, 
            "filename": "tornado-4.5.2-cp35-cp35m-win32.whl", 
            "packagetype": "bdist_wheel", 
            "path": "39/64/eaaeaec2e2ba3a31f9dd4cefe1e25e35127278b3c9220a04944bfd10bbbf/tornado-4.5.2-cp35-cp35m-win32.whl", 
            "size": 422081
        }, 
        {
            "has_sig": false, 
            "upload_time": "2017-08-27T20:40:00", 
            "comment_text": "", 
            "python_version": "cp35", 
            "url": "https://pypi.python.org/packages/7d/a6/639222363922e14081082227aacba0ba86739b7302fab6e63f96ba4d418b/tornado-4.5.2-cp35-cp35m-win_amd64.whl", 
            "md5_digest": "fc11fbd9bcfbf124e0fc5a24b0b8d406", 
            "downloads": 0, 
            "filename": "tornado-4.5.2-cp35-cp35m-win_amd64.whl", 
            "packagetype": "bdist_wheel", 
            "path": "7d/a6/639222363922e14081082227aacba0ba86739b7302fab6e63f96ba4d418b/tornado-4.5.2-cp35-cp35m-win_amd64.whl", 
            "size": 422646
        }, 
        {
            "has_sig": false, 
            "upload_time": "2017-08-27T20:40:05", 
            "comment_text": "", 
            "python_version": "cp36", 
            "url": "https://pypi.python.org/packages/73/0b/55da7f11c53d849c972453c9c7099ccffa70687755464343557bacd7e03d/tornado-4.5.2-cp36-cp36m-win32.whl", 
            "md5_digest": "e4ca216975fb50807a7bbc4525b9c3a9", 
            "downloads": 0, 
            "filename": "tornado-4.5.2-cp36-cp36m-win32.whl", 
            "packagetype": "bdist_wheel", 
            "path": "73/0b/55da7f11c53d849c972453c9c7099ccffa70687755464343557bacd7e03d/tornado-4.5.2-cp36-cp36m-win32.whl", 
            "size": 422077
        }, 
        {
            "has_sig": false, 
            "upload_time": "2017-08-27T20:40:08", 
            "comment_text": "", 
            "python_version": "cp36", 
            "url": "https://pypi.python.org/packages/cb/ec/0dee45e060e9b424664cbec81b32eb3adde0804e1fe7bd5acb64e1775ea1/tornado-4.5.2-cp36-cp36m-win_amd64.whl", 
            "md5_digest": "1bd43a7756d3f3cbfc6fe12e4c658922", 
            "downloads": 0, 
            "filename": "tornado-4.5.2-cp36-cp36m-win_amd64.whl", 
            "packagetype": "bdist_wheel", 
            "path": "cb/ec/0dee45e060e9b424664cbec81b32eb3adde0804e1fe7bd5acb64e1775ea1/tornado-4.5.2-cp36-cp36m-win_amd64.whl", 
            "size": 422645
        }, 
        {
            "has_sig": false, 
            "upload_time": "2017-08-27T20:39:41", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/fa/14/52e2072197dd0e63589e875ebf5984c91a027121262aa08f71a49b958359/tornado-4.5.2.tar.gz", 
            "md5_digest": "ab41f6765d58089f30ba51e8ec084a7b", 
            "downloads": 0, 
            "filename": "tornado-4.5.2.tar.gz", 
            "packagetype": "sdist", 
            "path": "fa/14/52e2072197dd0e63589e875ebf5984c91a027121262aa08f71a49b958359/tornado-4.5.2.tar.gz", 
            "size": 483712
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}