METADATA 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Metadata-Version: 2.1
  2. Name: tornado
  3. Version: 6.0.4
  4. Summary: Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
  5. Home-page: http://www.tornadoweb.org/
  6. Author: Facebook
  7. Author-email: python-tornado@googlegroups.com
  8. License: http://www.apache.org/licenses/LICENSE-2.0
  9. Platform: UNKNOWN
  10. Classifier: License :: OSI Approved :: Apache Software License
  11. Classifier: Programming Language :: Python :: 3
  12. Classifier: Programming Language :: Python :: 3.5
  13. Classifier: Programming Language :: Python :: 3.6
  14. Classifier: Programming Language :: Python :: 3.7
  15. Classifier: Programming Language :: Python :: 3.8
  16. Classifier: Programming Language :: Python :: Implementation :: CPython
  17. Classifier: Programming Language :: Python :: Implementation :: PyPy
  18. Requires-Python: >= 3.5
  19. Tornado Web Server
  20. ==================
  21. .. image:: https://badges.gitter.im/Join%20Chat.svg
  22. :alt: Join the chat at https://gitter.im/tornadoweb/tornado
  23. :target: https://gitter.im/tornadoweb/tornado?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
  24. `Tornado <http://www.tornadoweb.org>`_ is a Python web framework and
  25. asynchronous networking library, originally developed at `FriendFeed
  26. <http://friendfeed.com>`_. By using non-blocking network I/O, Tornado
  27. can scale to tens of thousands of open connections, making it ideal for
  28. `long polling <http://en.wikipedia.org/wiki/Push_technology#Long_Polling>`_,
  29. `WebSockets <http://en.wikipedia.org/wiki/WebSocket>`_, and other
  30. applications that require a long-lived connection to each user.
  31. Hello, world
  32. ------------
  33. Here is a simple "Hello, world" example web app for Tornado:
  34. .. code-block:: python
  35. import tornado.ioloop
  36. import tornado.web
  37. class MainHandler(tornado.web.RequestHandler):
  38. def get(self):
  39. self.write("Hello, world")
  40. def make_app():
  41. return tornado.web.Application([
  42. (r"/", MainHandler),
  43. ])
  44. if __name__ == "__main__":
  45. app = make_app()
  46. app.listen(8888)
  47. tornado.ioloop.IOLoop.current().start()
  48. This example does not use any of Tornado's asynchronous features; for
  49. that see this `simple chat room
  50. <https://github.com/tornadoweb/tornado/tree/stable/demos/chat>`_.
  51. Documentation
  52. -------------
  53. Documentation and links to additional resources are available at
  54. http://www.tornadoweb.org