tornado


Nametornado JSON
Version 6.4.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_time2024-11-22 03:06:38
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/59/45/a0daf161f7d6f36c3ea5fc0c2de619746cc3dd4c76402e9db545bd920f63/tornado-6.4.2.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.2",
    "project_urls": {
        "Homepage": "http://www.tornadoweb.org/",
        "Source": "https://github.com/tornadoweb/tornado"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "267e71f604d8cea1b58f82ba3590290b66da1e72d840aeb37e0d5f7291bd30db",
                "md5": "5cbbee7e216906280ee5e16059f7de84",
                "sha256": "e828cce1123e9e44ae2a50a9de3055497ab1d0aeb440c5ac23064d9e44880da1"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-macosx_10_9_universal2.whl",
            "has_sig": false,
            "md5_digest": "5cbbee7e216906280ee5e16059f7de84",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 436299,
            "upload_time": "2024-11-22T03:06:20",
            "upload_time_iso_8601": "2024-11-22T03:06:20.162711Z",
            "url": "https://files.pythonhosted.org/packages/26/7e/71f604d8cea1b58f82ba3590290b66da1e72d840aeb37e0d5f7291bd30db/tornado-6.4.2-cp38-abi3-macosx_10_9_universal2.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "964487543a3b99016d0bf54fdaab30d24bf0af2e848f1d13d34a3a5380aabe16",
                "md5": "208724dc34bdbf34b3ec55839a3116bb",
                "sha256": "072ce12ada169c5b00b7d92a99ba089447ccc993ea2143c9ede887e0937aa803"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-macosx_10_9_x86_64.whl",
            "has_sig": false,
            "md5_digest": "208724dc34bdbf34b3ec55839a3116bb",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 434253,
            "upload_time": "2024-11-22T03:06:22",
            "upload_time_iso_8601": "2024-11-22T03:06:22.390610Z",
            "url": "https://files.pythonhosted.org/packages/96/44/87543a3b99016d0bf54fdaab30d24bf0af2e848f1d13d34a3a5380aabe16/tornado-6.4.2-cp38-abi3-macosx_10_9_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cbfbfdf679b4ce51bcb7210801ef4f11fdac96e9885daa402861751353beea6e",
                "md5": "75df354bcb3814df4f14e5c8941454a3",
                "sha256": "1a017d239bd1bb0919f72af256a970624241f070496635784d9bf0db640d3fec"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "75df354bcb3814df4f14e5c8941454a3",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 437602,
            "upload_time": "2024-11-22T03:06:24",
            "upload_time_iso_8601": "2024-11-22T03:06:24.214195Z",
            "url": "https://files.pythonhosted.org/packages/cb/fb/fdf679b4ce51bcb7210801ef4f11fdac96e9885daa402861751353beea6e/tornado-6.4.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4f3be31aeffffc22b475a64dbeb273026a21b5b566f74dee48742817626c47dc",
                "md5": "87053d5ce5e9f422ae794ad651f8066c",
                "sha256": "c36e62ce8f63409301537222faffcef7dfc5284f27eec227389f2ad11b09d946"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl",
            "has_sig": false,
            "md5_digest": "87053d5ce5e9f422ae794ad651f8066c",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 436972,
            "upload_time": "2024-11-22T03:06:25",
            "upload_time_iso_8601": "2024-11-22T03:06:25.559468Z",
            "url": "https://files.pythonhosted.org/packages/4f/3b/e31aeffffc22b475a64dbeb273026a21b5b566f74dee48742817626c47dc/tornado-6.4.2-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": "2255b78a464de78051a30599ceb6983b01d8f732e6f69bf37b4ed07f642ac0fc",
                "md5": "aa40d8528437239fe62144be93be8903",
                "sha256": "bca9eb02196e789c9cb5c3c7c0f04fb447dc2adffd95265b2c7223a8a615ccbf"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "aa40d8528437239fe62144be93be8903",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 437173,
            "upload_time": "2024-11-22T03:06:27",
            "upload_time_iso_8601": "2024-11-22T03:06:27.584350Z",
            "url": "https://files.pythonhosted.org/packages/22/55/b78a464de78051a30599ceb6983b01d8f732e6f69bf37b4ed07f642ac0fc/tornado-6.4.2-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": "795ebe4fb0d1684eb822c9a62fb18a3e44a06188f78aa466b2ad991d2ee31104",
                "md5": "a5fa959cef52940834609b4f3c816d8e",
                "sha256": "304463bd0772442ff4d0f5149c6f1c2135a1fae045adf070821c6cdc76980634"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-musllinux_1_2_aarch64.whl",
            "has_sig": false,
            "md5_digest": "a5fa959cef52940834609b4f3c816d8e",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 437892,
            "upload_time": "2024-11-22T03:06:28",
            "upload_time_iso_8601": "2024-11-22T03:06:28.933161Z",
            "url": "https://files.pythonhosted.org/packages/79/5e/be4fb0d1684eb822c9a62fb18a3e44a06188f78aa466b2ad991d2ee31104/tornado-6.4.2-cp38-abi3-musllinux_1_2_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5334f91fdd94ea36e1d796147003b490fe60a0215ac5737b6f9c65e160d4fe0",
                "md5": "3f7415c6dbc617a7760293b31432ac67",
                "sha256": "c82c46813ba483a385ab2a99caeaedf92585a1f90defb5693351fa7e4ea0bf73"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-musllinux_1_2_i686.whl",
            "has_sig": false,
            "md5_digest": "3f7415c6dbc617a7760293b31432ac67",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 437334,
            "upload_time": "2024-11-22T03:06:30",
            "upload_time_iso_8601": "2024-11-22T03:06:30.428519Z",
            "url": "https://files.pythonhosted.org/packages/f5/33/4f91fdd94ea36e1d796147003b490fe60a0215ac5737b6f9c65e160d4fe0/tornado-6.4.2-cp38-abi3-musllinux_1_2_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2baec1b22d4524b0e10da2f29a176fb2890386f7bd1f63aacf186444873a88a0",
                "md5": "9413ff11071860db1264ea1c0007b917",
                "sha256": "932d195ca9015956fa502c6b56af9eb06106140d844a335590c1ec7f5277d10c"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "9413ff11071860db1264ea1c0007b917",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 437261,
            "upload_time": "2024-11-22T03:06:32",
            "upload_time_iso_8601": "2024-11-22T03:06:32.458542Z",
            "url": "https://files.pythonhosted.org/packages/2b/ae/c1b22d4524b0e10da2f29a176fb2890386f7bd1f63aacf186444873a88a0/tornado-6.4.2-cp38-abi3-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b52536dbd49ab6d179bcfc4c6c093a51795a4f3bed380543a8242ac3517a1751",
                "md5": "5dcd3f3d6fea0084b091f30f01e0e23b",
                "sha256": "2876cef82e6c5978fde1e0d5b1f919d756968d5b4282418f3146b79b58556482"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-win32.whl",
            "has_sig": false,
            "md5_digest": "5dcd3f3d6fea0084b091f30f01e0e23b",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 438463,
            "upload_time": "2024-11-22T03:06:34",
            "upload_time_iso_8601": "2024-11-22T03:06:34.710882Z",
            "url": "https://files.pythonhosted.org/packages/b5/25/36dbd49ab6d179bcfc4c6c093a51795a4f3bed380543a8242ac3517a1751/tornado-6.4.2-cp38-abi3-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "61cc58b1adeb1bb46228442081e746fcdbc4540905c87e8add7c277540934edb",
                "md5": "d3b671195f478fc4d98403f79e876018",
                "sha256": "908b71bf3ff37d81073356a5fadcc660eb10c1476ee6e2725588626ce7e5ca38"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2-cp38-abi3-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "d3b671195f478fc4d98403f79e876018",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 438907,
            "upload_time": "2024-11-22T03:06:36",
            "upload_time_iso_8601": "2024-11-22T03:06:36.710784Z",
            "url": "https://files.pythonhosted.org/packages/61/cc/58b1adeb1bb46228442081e746fcdbc4540905c87e8add7c277540934edb/tornado-6.4.2-cp38-abi3-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5945a0daf161f7d6f36c3ea5fc0c2de619746cc3dd4c76402e9db545bd920f63",
                "md5": "c3a490d9cea9360ecd0805e4c2d1e87e",
                "sha256": "92bad5b4746e9879fd7bf1eb21dce4e3fc5128d71601f80005afa39237ad620b"
            },
            "downloads": -1,
            "filename": "tornado-6.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "c3a490d9cea9360ecd0805e4c2d1e87e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 501135,
            "upload_time": "2024-11-22T03:06:38",
            "upload_time_iso_8601": "2024-11-22T03:06:38.036146Z",
            "url": "https://files.pythonhosted.org/packages/59/45/a0daf161f7d6f36c3ea5fc0c2de619746cc3dd4c76402e9db545bd920f63/tornado-6.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-22 03:06:38",
    "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.38042s