tornado


Nametornado JSON
Version 6.4.1 PyPI version JSON
download
home_pagehttp://www.tornadoweb.org/
SummaryTornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
upload_time2024-06-06 18:36:29
maintainerNone
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": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Facebook",
    "author_email": "python-tornado@googlegroups.com",
    "download_url": "https://files.pythonhosted.org/packages/ee/66/398ac7167f1c7835406888a386f6d0d26ee5dbf197d8a571300be57662d3/tornado-6.4.1.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.1",
    "project_urls": {
        "Homepage": "http://www.tornadoweb.org/",
        "Source": "https://github.com/tornadoweb/tornado"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "00d9c33be3c1a7564f7d42d87a8d186371a75fd142097076767a5c27da941fef",
                "md5": "76f4c1576bed0f053312eee59f9ac299",
                "sha256": "163b0aafc8e23d8cdc3c9dfb24c5368af84a81e3364745ccb4427669bf84aec8"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "76f4c1576bed0f053312eee59f9ac299",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 435924,
            "upload_time": "2024-06-06T18:36:10",
            "upload_time_iso_8601": "2024-06-06T18:36:10.575984Z",
            "url": "https://files.pythonhosted.org/packages/00/d9/c33be3c1a7564f7d42d87a8d186371a75fd142097076767a5c27da941fef/tornado-6.4.1-cp38-abi3-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2e0f721e113a2fac2f1d7d124b3279a1da4c77622e104084f56119875019ffab",
                "md5": "62a4018a7c602e16f108e90404931afc",
                "sha256": "6d5ce3437e18a2b66fbadb183c1d3364fb03f2be71299e7d10dbeeb69f4b2a14"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "62a4018a7c602e16f108e90404931afc",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 433883,
            "upload_time": "2024-06-06T18:36:13",
            "upload_time_iso_8601": "2024-06-06T18:36:13.130414Z",
            "url": "https://files.pythonhosted.org/packages/2e/0f/721e113a2fac2f1d7d124b3279a1da4c77622e104084f56119875019ffab/tornado-6.4.1-cp38-abi3-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "13cf786b8f1e6fe1c7c675e79657448178ad65e41c1c9765ef82e7f6f765c4c5",
                "md5": "0d25dc546c303f73c9949d602ca200d1",
                "sha256": "e2e20b9113cd7293f164dc46fffb13535266e713cdb87bd2d15ddb336e96cfc4"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "0d25dc546c303f73c9949d602ca200d1",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 437224,
            "upload_time": "2024-06-06T18:36:14",
            "upload_time_iso_8601": "2024-06-06T18:36:14.657760Z",
            "url": "https://files.pythonhosted.org/packages/13/cf/786b8f1e6fe1c7c675e79657448178ad65e41c1c9765ef82e7f6f765c4c5/tornado-6.4.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e48ea6ce4b8d5935558828b0f30f3afcb2d980566718837b3365d98e34f6067e",
                "md5": "07cdf48c3adac5ab42dedacabeea208f",
                "sha256": "8ae50a504a740365267b2a8d1a90c9fbc86b780a39170feca9bcc1787ff80842"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "07cdf48c3adac5ab42dedacabeea208f",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 436597,
            "upload_time": "2024-06-06T18:36:17",
            "upload_time_iso_8601": "2024-06-06T18:36:17.093675Z",
            "url": "https://files.pythonhosted.org/packages/e4/8e/a6ce4b8d5935558828b0f30f3afcb2d980566718837b3365d98e34f6067e/tornado-6.4.1-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": "22d454f9d12668b58336bd30defe0307e6c61589a3e687b05c366f804b7faaf0",
                "md5": "8405ff29fe736a70549b7d4c84cf9b0c",
                "sha256": "613bf4ddf5c7a95509218b149b555621497a6cc0d46ac341b30bd9ec19eac7f3"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "8405ff29fe736a70549b7d4c84cf9b0c",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 436797,
            "upload_time": "2024-06-06T18:36:19",
            "upload_time_iso_8601": "2024-06-06T18:36:19.265058Z",
            "url": "https://files.pythonhosted.org/packages/22/d4/54f9d12668b58336bd30defe0307e6c61589a3e687b05c366f804b7faaf0/tornado-6.4.1-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": "cf3f2c792e7afa7dd8b24fad7a2ed3c2f24a5ec5110c7b43a64cb6095cc106b8",
                "md5": "121b75230845144fef56e1c83eefc9ac",
                "sha256": "25486eb223babe3eed4b8aecbac33b37e3dd6d776bc730ca14e1bf93888b979f"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-musllinux_1_2_aarch64.whl",
            "has_sig": false,
            "md5_digest": "121b75230845144fef56e1c83eefc9ac",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 437516,
            "upload_time": "2024-06-06T18:36:20",
            "upload_time_iso_8601": "2024-06-06T18:36:20.813462Z",
            "url": "https://files.pythonhosted.org/packages/cf/3f/2c792e7afa7dd8b24fad7a2ed3c2f24a5ec5110c7b43a64cb6095cc106b8/tornado-6.4.1-cp38-abi3-musllinux_1_2_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7163c8fc62745e669ac9009044b889fc531b6f88ac0f5f183cac79eaa950bb23",
                "md5": "6e7afbb422507b394786f2a6ab1342c8",
                "sha256": "454db8a7ecfcf2ff6042dde58404164d969b6f5d58b926da15e6b23817950fc4"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-musllinux_1_2_i686.whl",
            "has_sig": false,
            "md5_digest": "6e7afbb422507b394786f2a6ab1342c8",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 436958,
            "upload_time": "2024-06-06T18:36:22",
            "upload_time_iso_8601": "2024-06-06T18:36:22.679684Z",
            "url": "https://files.pythonhosted.org/packages/71/63/c8fc62745e669ac9009044b889fc531b6f88ac0f5f183cac79eaa950bb23/tornado-6.4.1-cp38-abi3-musllinux_1_2_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "94d4f8ac1f5bd22c15fad3b527e025ce219bd526acdbd903f52053df2baecc8b",
                "md5": "8fd3415e5dfa74fd3a17fe31524e17c9",
                "sha256": "a02a08cc7a9314b006f653ce40483b9b3c12cda222d6a46d4ac63bb6c9057698"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "8fd3415e5dfa74fd3a17fe31524e17c9",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 436882,
            "upload_time": "2024-06-06T18:36:24",
            "upload_time_iso_8601": "2024-06-06T18:36:24.124958Z",
            "url": "https://files.pythonhosted.org/packages/94/d4/f8ac1f5bd22c15fad3b527e025ce219bd526acdbd903f52053df2baecc8b/tornado-6.4.1-cp38-abi3-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4b3ea8124c21cc0bbf144d7903d2a0cadab15cadaf683fa39a0f92bc567f0d4d",
                "md5": "9cf098a8739bf2f80b99b405f9516ae7",
                "sha256": "d9a566c40b89757c9aa8e6f032bcdb8ca8795d7c1a9762910c722b1635c9de4d"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-win32.whl",
            "has_sig": false,
            "md5_digest": "9cf098a8739bf2f80b99b405f9516ae7",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 438092,
            "upload_time": "2024-06-06T18:36:25",
            "upload_time_iso_8601": "2024-06-06T18:36:25.881067Z",
            "url": "https://files.pythonhosted.org/packages/4b/3e/a8124c21cc0bbf144d7903d2a0cadab15cadaf683fa39a0f92bc567f0d4d/tornado-6.4.1-cp38-abi3-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d92f3f2f05e84a7aff787a96d5fb06821323feb370fe0baed4db6ea7b1088f32",
                "md5": "dafdfc3226d38b2ecf5d49e2737e5ed6",
                "sha256": "b24b8982ed444378d7f21d563f4180a2de31ced9d8d84443907a0a64da2072e7"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1-cp38-abi3-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "dafdfc3226d38b2ecf5d49e2737e5ed6",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 438532,
            "upload_time": "2024-06-06T18:36:28",
            "upload_time_iso_8601": "2024-06-06T18:36:28.494875Z",
            "url": "https://files.pythonhosted.org/packages/d9/2f/3f2f05e84a7aff787a96d5fb06821323feb370fe0baed4db6ea7b1088f32/tornado-6.4.1-cp38-abi3-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ee66398ac7167f1c7835406888a386f6d0d26ee5dbf197d8a571300be57662d3",
                "md5": "07ebd88a2a7acee1b819738f3f4ca7ef",
                "sha256": "92d3ab53183d8c50f8204a51e6f91d18a15d5ef261e84d452800d4ff6fc504e9"
            },
            "downloads": -1,
            "filename": "tornado-6.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "07ebd88a2a7acee1b819738f3f4ca7ef",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 500623,
            "upload_time": "2024-06-06T18:36:29",
            "upload_time_iso_8601": "2024-06-06T18:36:29.930072Z",
            "url": "https://files.pythonhosted.org/packages/ee/66/398ac7167f1c7835406888a386f6d0d26ee5dbf197d8a571300be57662d3/tornado-6.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-06 18:36:29",
    "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.31891s