tornado主要包括以下部分:
- Web framework
- HTTP servers and clients
- Asynchronous networking
- Coroutines and concurrency 协程和并发
- Integration with other services 和其他服务的集成
tornado.auth
— Third-party login with OpenID and OAuthtornado.wsgi
— Interoperability with other Python frameworks and serverstornado.platform.asyncio
— Bridge betweenasyncio
and Tornadotornado.platform.caresresolver
— Asynchronous DNS Resolver using C-Arestornado.platform.twisted
— Bridges between Twisted and Tornado
- Utilities 工具
tornado.autoreload
— Automatically detect code changes in development 自动加载tornado.log
— Logging support 日志tornado.options
— Command-line parsing 命令行解析tornado.stack_context
— Exception handling across asynchronous callbackstornado.testing
— Unit testing support for asynchronous code 异步代码单元测试工具tornado.util
— General-purpose utilities