METADATA 2.4 KB

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