tornado


Nametornado JSON
Version 6.4 PyPI version JSON
download
home_pagehttp://www.tornadoweb.org/
SummaryTornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
upload_time2023-11-29 03:39:52
maintainer
docs_urlNone
authorFacebook
requires_python>= 3.8
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            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 asyncio
    import tornado

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

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

    async def main():
        app = make_app()
        app.listen(8888)
        await asyncio.Event().wait()

    if __name__ == "__main__":
        asyncio.run(main())

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
https://www.tornadoweb.org

            

Raw data

            {
    "_id": null,
    "home_page": "http://www.tornadoweb.org/",
    "name": "tornado",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">= 3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Facebook",
    "author_email": "python-tornado@googlegroups.com",
    "download_url": "https://files.pythonhosted.org/packages/bd/a2/ea124343e3b8dd7712561fe56c4f92eda26865f5e1040b289203729186f2/tornado-6.4.tar.gz",
    "platform": 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 asyncio\n    import tornado\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    async def main():\n        app = make_app()\n        app.listen(8888)\n        await asyncio.Event().wait()\n\n    if __name__ == \"__main__\":\n        asyncio.run(main())\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\nhttps://www.tornadoweb.org\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.",
    "version": "6.4",
    "project_urls": {
        "Homepage": "http://www.tornadoweb.org/",
        "Source": "https://github.com/tornadoweb/tornado"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4a2e3ba930e3af171847d610e07ae878e04fcb7e4d7822f1a2d29a27b128ea24",
                "md5": "ac2d5f97699149e1a637fc870a983608",
                "sha256": "02ccefc7d8211e5a7f9e8bc3f9e5b0ad6262ba2fbb683a6443ecc804e5224ce0"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "ac2d5f97699149e1a637fc870a983608",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 433147,
            "upload_time": "2023-11-29T03:39:29",
            "upload_time_iso_8601": "2023-11-29T03:39:29.539608Z",
            "url": "https://files.pythonhosted.org/packages/4a/2e/3ba930e3af171847d610e07ae878e04fcb7e4d7822f1a2d29a27b128ea24/tornado-6.4-cp38-abi3-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "347ae7ec972db24513ea69ac7132c1a5eef62309dc978566a4afffa314417a45",
                "md5": "933aa5980100590090db26e655d35f6f",
                "sha256": "27787de946a9cffd63ce5814c33f734c627a87072ec7eed71f7fc4417bb16263"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "933aa5980100590090db26e655d35f6f",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 431108,
            "upload_time": "2023-11-29T03:39:32",
            "upload_time_iso_8601": "2023-11-29T03:39:32.343721Z",
            "url": "https://files.pythonhosted.org/packages/34/7a/e7ec972db24513ea69ac7132c1a5eef62309dc978566a4afffa314417a45/tornado-6.4-cp38-abi3-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62e53ee2ba523a13bae5c17d1658580d13597116c1639374ca5033d58fd04724",
                "md5": "476903b2f4863cf7cad57fcda8a1f193",
                "sha256": "f7894c581ecdcf91666a0912f18ce5e757213999e183ebfc2c3fdbf4d5bd764e"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "476903b2f4863cf7cad57fcda8a1f193",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 435852,
            "upload_time": "2023-11-29T03:39:34",
            "upload_time_iso_8601": "2023-11-29T03:39:34.672269Z",
            "url": "https://files.pythonhosted.org/packages/62/e5/3ee2ba523a13bae5c17d1658580d13597116c1639374ca5033d58fd04724/tornado-6.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e76aca8c8726d045c1c7b093cca3c5551e8df444ef74ba0dfd1f205da1f95db",
                "md5": "996bb7b9956a40f7a3164aff10514e06",
                "sha256": "e43bc2e5370a6a8e413e1e1cd0c91bedc5bd62a74a532371042a18ef19e10579"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "996bb7b9956a40f7a3164aff10514e06",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 435227,
            "upload_time": "2023-11-29T03:39:36",
            "upload_time_iso_8601": "2023-11-29T03:39:36.806734Z",
            "url": "https://files.pythonhosted.org/packages/0e/76/aca8c8726d045c1c7b093cca3c5551e8df444ef74ba0dfd1f205da1f95db/tornado-6.4-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f1211d0a757bb67278d3380d41955ae98527d5ad18330b2edbdc8de222b569b",
                "md5": "7f18764eb1c0cf74514cf21134ccf034",
                "sha256": "f0251554cdd50b4b44362f73ad5ba7126fc5b2c2895cc62b14a1c2d7ea32f212"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "7f18764eb1c0cf74514cf21134ccf034",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 435423,
            "upload_time": "2023-11-29T03:39:39",
            "upload_time_iso_8601": "2023-11-29T03:39:39.076770Z",
            "url": "https://files.pythonhosted.org/packages/9f/12/11d0a757bb67278d3380d41955ae98527d5ad18330b2edbdc8de222b569b/tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "66e5466aa544e0cbae9b0ece79cd42db257fa7bfa3197c853e3f7921b3963190",
                "md5": "36caf25c1418df10ec4ddf8e9d7b9a39",
                "sha256": "fd03192e287fbd0899dd8f81c6fb9cbbc69194d2074b38f384cb6fa72b80e9c2"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-musllinux_1_1_aarch64.whl",
            "has_sig": false,
            "md5_digest": "36caf25c1418df10ec4ddf8e9d7b9a39",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 438198,
            "upload_time": "2023-11-29T03:39:41",
            "upload_time_iso_8601": "2023-11-29T03:39:41.375463Z",
            "url": "https://files.pythonhosted.org/packages/66/e5/466aa544e0cbae9b0ece79cd42db257fa7bfa3197c853e3f7921b3963190/tornado-6.4-cp38-abi3-musllinux_1_1_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e240bcf0af5a29a850bf5ad7f79ef51c054f99e18d9cdf4efd6eeb0df819641f",
                "md5": "d58562ac2c252931b231aed8a38980a4",
                "sha256": "88b84956273fbd73420e6d4b8d5ccbe913c65d31351b4c004ae362eba06e1f78"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-musllinux_1_1_i686.whl",
            "has_sig": false,
            "md5_digest": "d58562ac2c252931b231aed8a38980a4",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 438182,
            "upload_time": "2023-11-29T03:39:43",
            "upload_time_iso_8601": "2023-11-29T03:39:43.627520Z",
            "url": "https://files.pythonhosted.org/packages/e2/40/bcf0af5a29a850bf5ad7f79ef51c054f99e18d9cdf4efd6eeb0df819641f/tornado-6.4-cp38-abi3-musllinux_1_1_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "25a31025f561b87b3cca6f66da149ba7ce4c2bb18d7bd6b84cd5a13a274e9dd3",
                "md5": "4f0da3376efa740f0b0671b41e645623",
                "sha256": "71ddfc23a0e03ef2df1c1397d859868d158c8276a0603b96cf86892bff58149f"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "4f0da3376efa740f0b0671b41e645623",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 438179,
            "upload_time": "2023-11-29T03:39:46",
            "upload_time_iso_8601": "2023-11-29T03:39:46.162060Z",
            "url": "https://files.pythonhosted.org/packages/25/a3/1025f561b87b3cca6f66da149ba7ce4c2bb18d7bd6b84cd5a13a274e9dd3/tornado-6.4-cp38-abi3-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a707bdda4c6dcd625cc2bc13e06a15876055cc852ec76c748ab7a025ea3804ee",
                "md5": "250c0137791168ed167a3310b5c35a56",
                "sha256": "6f8a6c77900f5ae93d8b4ae1196472d0ccc2775cc1dfdc9e7727889145c45052"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-win32.whl",
            "has_sig": false,
            "md5_digest": "250c0137791168ed167a3310b5c35a56",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 436473,
            "upload_time": "2023-11-29T03:39:48",
            "upload_time_iso_8601": "2023-11-29T03:39:48.316217Z",
            "url": "https://files.pythonhosted.org/packages/a7/07/bdda4c6dcd625cc2bc13e06a15876055cc852ec76c748ab7a025ea3804ee/tornado-6.4-cp38-abi3-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "af2b4649926f17c1634d21c584cc855b5c5021f148b934919d26932a595bc034",
                "md5": "452fbf5e2ed7f07363f2ab6f68164a7a",
                "sha256": "10aeaa8006333433da48dec9fe417877f8bcc21f48dda8d661ae79da357b2a63"
            },
            "downloads": -1,
            "filename": "tornado-6.4-cp38-abi3-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "452fbf5e2ed7f07363f2ab6f68164a7a",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">= 3.8",
            "size": 436959,
            "upload_time": "2023-11-29T03:39:50",
            "upload_time_iso_8601": "2023-11-29T03:39:50.516225Z",
            "url": "https://files.pythonhosted.org/packages/af/2b/4649926f17c1634d21c584cc855b5c5021f148b934919d26932a595bc034/tornado-6.4-cp38-abi3-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bda2ea124343e3b8dd7712561fe56c4f92eda26865f5e1040b289203729186f2",
                "md5": "460b467761e5ff74202b5bf8054c8116",
                "sha256": "72291fa6e6bc84e626589f1c29d90a5a6d593ef5ae68052ee2ef000dfd273dee"
            },
            "downloads": -1,
            "filename": "tornado-6.4.tar.gz",
            "has_sig": false,
            "md5_digest": "460b467761e5ff74202b5bf8054c8116",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">= 3.8",
            "size": 498845,
            "upload_time": "2023-11-29T03:39:52",
            "upload_time_iso_8601": "2023-11-29T03:39:52.699544Z",
            "url": "https://files.pythonhosted.org/packages/bd/a2/ea124343e3b8dd7712561fe56c4f92eda26865f5e1040b289203729186f2/tornado-6.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-29 03:39:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tornadoweb",
    "github_project": "tornado",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "tornado"
}
        
Elapsed time: 0.14319s