tornado学习总结

来源:互联网 发布:想学编程从哪里入手 编辑:程序博客网 时间:2024/05/24 04:22
tornado主要包括以下部分:
  • Web framework
    • tornado.web — RequestHandler and Application classes
      • tornado.template — Flexible output generation 灵活生成输出
        • 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 操作HTTP头和URLS
                • tornado.http1connection – HTTP/1.x client/server implementation
              • Asynchronous networking
                • tornado.ioloop — Main event loop 主要事件循环
                  • tornado.iostream — Convenient wrappers for non-blocking sockets 非阻塞socket封装
                    • tornado.netutil — Miscellaneous network utilities 各种各样的网络工具
                    • tornado.tcpclient — IOStream connection factory
                    • tornado.tcpserver — Basic IOStream-based TCP server
                  • Coroutines and concurrency  协程和并发
                    • tornado.gen — Simplify asynchronous code
                      • tornado.concurrent — Work with threads and futures
                        • 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.asyncio — Bridge between asyncio and Tornado
                                • tornado.platform.caresresolver — Asynchronous DNS Resolver using C-Ares
                                • tornado.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 callbacks
                                    • tornado.testing — Unit testing support for asynchronous code 异步代码单元测试工具
                                      • tornado.util — General-purpose utilities 
                                    0 0
                                    原创粉丝点击