Meta tags:
Headings (most frequently used words):
and, quick, links, hello, world, threads, wsgi, asyncio, integration, installation, documentation, discussion, support,
Text of the page (most frequently used words):
tornado (134), new (65), what (64), and (29), the (21), web (14), with (13), for (12), asynchronous (9), #asyncio (9), not (8), that (8), can (7), blocking (7), this (6), wsgi (6), http (6), use (6), are (5), support (5), utilities (5), other (5), coroutines (5), server (5), non (5), using (4), documentation (4), code (4), python (4), networking (4), user (4), run (4), windows (4), source (4), available (3), version (3), you (3), mailing (3), module (3), release (3), notes (3), general (3), platform (3), servers (3), integration (3), process (3), based (3), iostream (3), main (3), event (3), ioloop (3), application (3), framework (3), example (3), guide (3), also (3), threads (3), applications (3), thread (3), from (3), run_in_executor (3), app (3), def (3), hello (3), world (3), built (2), under (2), links (2), announcements (2), list (2), wiki (2), github (2), discussion (2), page (2), index (2), frequently (2), asked (2), questions (2), testing (2), objects (2), concurrent (2), development (2), between (2), twisted (2), dns (2), resolver (2), frameworks (2), services (2), queues (2), concurrency (2), basic (2), connection (2), network (2), loop (2), client (2), implementation (2), clients (2), routing (2), requesthandler (2), recommended (2), some (2), features (2), scalability (2), does (2), designed (2), platforms (2), used (2), when (2), optional (2), may (2), installed (2), note (2), way (2), download (2), pip (2), pypi (2), library (2), safe (2), only (2), function (2), should (2), any (2), most (2), see (2), simple (2), make_app (2), mainhandler (2), self (2), import (2), long (2), provided, read, docs, theme, sphinx, copyright, authors, next, site, all, licensed, creative, commons, apache, license, discuss, report, bugs, additional, resources, found, releases, announced, issue, tracker, developer, search, purpose, util, unit, command, line, parsing, options, logging, log, work, future, automatically, detect, changes, autoreload, bridge, bridges, ares, caresresolver, interoperability, third, party, login, openid, oauth, auth, multiple, processes, synchronization, primitives, locks, generator, gen, tcp, tcpserver, factory, tcpclient, miscellaneous, netutil, convenient, wrappers, sockets, http1connection, manipulate, headers, urls, httputil, httpclient, httpserver, bidirectional, communication, browser, websocket, internationalization, locale, escaping, string, manipulation, escape, flexible, output, generation, template, classes, running, deploying, authentication, security, templates, structure, spider, queue, introduction, pdf, epub, formats, will, although, configuration, officially, supported, production, missing, including, multi, mode, limited, even, though, which, supports, apis, necessary, scalable, unix, like, best, performance, systems, supporting, linux, bsd, macos, solaris, dev, poll, kqueue, epoll, alternative, appropriate, pycares, libcurl, higher, required, curl_httpclient, pycurl, requires, newer, following, packages, useful, prerequisites, listed, distribution, includes, demo, present, wish, copy, tarball, clone, well, git, repository, install, installation, integrated, standard, shares, same, default, since, libraries, mixed, freely, method, call, asynchronously, another, but, passed, avoid, referencing, interact, add_callback, while, focus, written, own, interfaces, such, directly, instead, different, typically, one, per, more, approach, programming, chat, room, __main__, __name__, wait, await, 8888, listen, async, return, write, get, class, here, stack, overflow, lists, current, quick, originally, developed, scale, tens, thousands, open, connections, making, ideal, require, lived, each, websockets, polling, friendfeed, view,
Text of the page (random words):
tornado web server tornado 6 5 7 documentation tornado 6 5 7 user s guide web framework http servers and clients asynchronous networking coroutines and concurrency integration with other services utilities frequently asked questions release notes tornado tornado web server view page source tornado is a python web framework and asynchronous networking library originally developed at friendfeed by using non blocking network i o tornado can scale to tens of thousands of open connections making it ideal for long polling websockets and other applications that require a long lived connection to each user quick links current version 6 5 7 download from pypi release notes source github mailing lists discussion and announcements stack overflow wiki hello world here is a simple hello world example web app for tornado 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 threads and wsgi tornado is different from most python web frameworks it is not based on wsgi and it is typically run with only one thread per process see the user s guide for more on tornado s approach to asynchronous programming while some support of wsgi is available in the tornado wsgi module it is not a focus of development and most applications should be written to use tornado s own interfaces such as tornado web directly instead of using wsgi in general tornado code is not thread safe the only method in tornado that is safe to call from other threads is ioloop add_callback you can also use ioloop run_in_executor to asynchronously run a blocking function on another thread but note that the function passed to run_in_executor should avoid referencing any tornado objects run_in_executor is the recommended way to interact with blocking code asyncio integration tornado is integrated with the standard library asyncio module and shares the same event loop by default since tornado 5 0 in general libraries designed for use with asyncio can be mixed freely with tornado installation pip install tornado tornado is listed in pypi and can be installed with pip note that the source distribution includes demo applications that are not present when tornado is installed in this way so you may wish to download a copy of the source tarball or clone the git repository as well prerequisites tornado 6 3 requires python 3 9 or newer the following optional packages may be useful pycurl is used by the optional tornado curl_httpclient libcurl version 7 22 or higher is required pycares is an alternative non blocking dns resolver that can be used when threads are not appropriate platforms tornado is designed for unix like platforms with best performance and scalability on systems supporting epoll linux kqueue bsd macos or dev poll solaris tornado will also run on windows although this configuration is not officially supported or recommended for production use some features are missing on windows including multi process mode and scalability is limited even though tornado is built on asyncio which supports windows tornado does not use the apis that are necessary for scalable networking on windows documentation this documentation is also available in pdf and epub formats user s guide introduction asynchronous and non blocking i o coroutines queue example a concurrent web spider structure of a tornado web application templates and ui authentication and security running and deploying web framework tornado web requesthandler and application classes tornado template flexible output generation tornado routing basic routing implementation tornado escape escaping and string manipulation tornado locale internationalization support tornado websocket bidirectional communication to the browser http servers and clients tornado httpserver non blocking http server tornado httpclient asynchronous http client tornado httputil manipulate http headers and urls tornado http1connection http 1 x client server implementation asynchronous networking tornado ioloop main event loop tornado iostream convenient wrappers for non blocking sockets tornado netutil miscellaneous network utilities tornado tcpclient iostream connection factory tornado tcpserver basic iostream based tcp server coroutines and concurrency tornado gen generator based coroutines tornado locks synchronization primitives tornado queues queues for coroutines tornado process utilities for multiple processes integration with other services tornado auth third party login with openid and oauth tornado wsgi interoperability with other python frameworks and servers tornado platform caresresolver asynchronous dns resolver using c ares tornado platform twisted bridges between twisted and tornado tornado platform asyncio bridge between asyncio and tornado utilities tornado autoreload automatically detect code changes in development tornado concurrent work with future objects tornado log logging support tornado options command line parsing tornado testing unit testing support for asynchronous code tornado util general purpose utilities frequently asked questions release notes what s new in tornado 6 5 7 what s new in tornado 6 5 6 what s new in tornado 6 5 5 what s new in tornado 6 5 4 what s new in tornado 6 5 3 what s new in tornado 6 5 2 what s new in tornado 6 5 1 what s new in tornado 6 5 0 what s new in tornado 6 4 2 what s new in tornado 6 4 1 what s new in tornado 6 4 0 what s new in tornado 6 3 3 what s new in tornado 6 3 2 what s new in tornado 6 3 1 what s new in tornado 6 3 0 what s new in tornado 6 2 0 what s new in tornado 6 1 0 what s new in tornado 6 0 4 what s new in tornado 6 0 3 what s new in tornado 6 0 2 what s new in tornado 6 0 1 what s new in tornado 6 0 what s new in tornado 5 1 1 what s new in tornado 5 1 what s new in tornado 5 0 2 what s new in tornado 5 0 1 what s new in tornado 5 0 what s new in tornado 4 5 3 what s new in tornado 4 5 2 what s new in tornado 4 5 1 what s new in tornado 4 5 what s new in tornado 4 4 3 what s new in tornado 4 4 2 what s new in tornado 4 4 1 what s new in tornado 4 4 what s new in tornado 4 3 what s new in tornado 4 2 1 what s new in tornado 4 2 what s new in tornado 4 1 what s new in tornado 4 0 2 what s new in tornado 4 0 1 what s new in tornado 4 0 what s new in tornado 3 2 2 what s new in tornado 3 2 1 what s new in tornado 3 2 what s new in tornado 3 1 1 what s new in tornado 3 1 what s new in tornado 3 0 2 what s new in tornado 3 0 1 what s new in tornado 3 0 what s new in tornado 2 4 1 what s new in tornado 2 4 what s new in tornado 2 3 what s new in tornado 2 2 1 what s new in tornado 2 2 what s new in tornado 2 1 1 what s new in tornado 2 1 what s new in tornado 2 0 what s new in tornado 1 2 1 what s new in tornado 1 2 what s new in tornado 1 1 1 what s new in tornado 1 1 what s new in tornado 1 0 1 what s new in tornado 1 0 index module index search page discussion and support you can discuss tornado on the tornado developer mailing list and report bugs on the github issue tracker links to additional resources can be found on the tornado wiki new releases are announced on the announcements mailing list tornado is available under the apache license version 2 0 this web site and all documentation is licensed under creative commons 3 0 next copyright the tornado authors built with sphinx using a theme provided by read the docs
|