You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 line
3.8KB

  1. Metadata-Version: 2.1
  2. Name: eventlet
  3. Version: 0.25.0
  4. Summary: Highly concurrent networking library
  5. Home-page: http://eventlet.net
  6. Author: Linden Lab
  7. Author-email: eventletdev@lists.secondlife.com
  8. License: UNKNOWN
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 4 - Beta
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: MIT License
  13. Classifier: Operating System :: MacOS :: MacOS X
  14. Classifier: Operating System :: Microsoft :: Windows
  15. Classifier: Operating System :: POSIX
  16. Classifier: Programming Language :: Python :: 2
  17. Classifier: Programming Language :: Python :: 2.7
  18. Classifier: Programming Language :: Python :: 3
  19. Classifier: Programming Language :: Python :: 3.4
  20. Classifier: Programming Language :: Python :: 3.5
  21. Classifier: Programming Language :: Python :: 3.6
  22. Classifier: Programming Language :: Python :: 3.7
  23. Classifier: Programming Language :: Python
  24. Classifier: Topic :: Internet
  25. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  26. Requires-Dist: dnspython (>=1.15.0)
  27. Requires-Dist: greenlet (>=0.3)
  28. Requires-Dist: monotonic (>=1.4)
  29. Requires-Dist: six (>=1.10.0)
  30. Requires-Dist: enum34 ; python_version < "3.4"
  31. Eventlet is a concurrent networking library for Python that allows you to change how you run your code, not how you write it.
  32. It uses epoll or libevent for highly scalable non-blocking I/O. Coroutines ensure that the developer uses a blocking style of programming that is similar to threading, but provide the benefits of non-blocking I/O. The event dispatch is implicit, which means you can easily use Eventlet from the Python interpreter, or as a small part of a larger application.
  33. It's easy to get started using Eventlet, and easy to convert existing
  34. applications to use it. Start off by looking at the `examples`_,
  35. `common design patterns`_, and the list of `basic API primitives`_.
  36. .. _examples: http://eventlet.net/doc/examples.html
  37. .. _common design patterns: http://eventlet.net/doc/design_patterns.html
  38. .. _basic API primitives: http://eventlet.net/doc/basic_usage.html
  39. Quick Example
  40. ===============
  41. Here's something you can try right on the command line::
  42. % python
  43. >>> import eventlet
  44. >>> from eventlet.green import urllib2
  45. >>> gt = eventlet.spawn(urllib2.urlopen, 'http://eventlet.net')
  46. >>> gt2 = eventlet.spawn(urllib2.urlopen, 'http://secondlife.com')
  47. >>> gt2.wait()
  48. >>> gt.wait()
  49. Getting Eventlet
  50. ==================
  51. The easiest way to get Eventlet is to use pip::
  52. pip install -U eventlet
  53. To install latest development version once::
  54. pip install -U https://github.com/eventlet/eventlet/archive/master.zip
  55. Building the Docs Locally
  56. =========================
  57. To build a complete set of HTML documentation, you must have Sphinx, which can be found at http://sphinx.pocoo.org/ (or installed with `pip install Sphinx`)::
  58. cd doc
  59. make html
  60. The built html files can be found in doc/_build/html afterward.
  61. Twisted
  62. =======
  63. Eventlet had Twisted hub in the past, but community interest to this integration has dropped over time,
  64. now it is not supported, so with apologies for any inconvenience we discontinue Twisted integration.
  65. If you have a project that uses Eventlet with Twisted, your options are:
  66. * use last working release eventlet==0.14
  67. * start a new project with only Twisted hub code, identify and fix problems. As of eventlet 0.13, `EVENTLET_HUB` environment variable can point to external modules.
  68. * fork Eventlet, revert Twisted removal, identify and fix problems. This work may be merged back into main project.
  69. Apologies for any inconvenience.
  70. Flair
  71. =====
  72. .. image:: https://travis-ci.org/eventlet/eventlet.svg?branch=master
  73. :target: https://travis-ci.org/eventlet/eventlet
  74. .. image:: https://codecov.io/gh/eventlet/eventlet/branch/master/graph/badge.svg
  75. :target: https://codecov.io/gh/eventlet/eventlet