PKG-INFO 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Metadata-Version: 1.1
  2. Name: eventlet
  3. Version: 0.21.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. Description: Eventlet is a concurrent networking library for Python that allows you to change how you run your code, not how you write it.
  10. 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.
  11. It's easy to get started using Eventlet, and easy to convert existing
  12. applications to use it. Start off by looking at the `examples`_,
  13. `common design patterns`_, and the list of `basic API primitives`_.
  14. .. _examples: http://eventlet.net/doc/examples.html
  15. .. _common design patterns: http://eventlet.net/doc/design_patterns.html
  16. .. _basic API primitives: http://eventlet.net/doc/basic_usage.html
  17. Quick Example
  18. ===============
  19. Here's something you can try right on the command line::
  20. % python
  21. >>> import eventlet
  22. >>> from eventlet.green import urllib2
  23. >>> gt = eventlet.spawn(urllib2.urlopen, 'http://eventlet.net')
  24. >>> gt2 = eventlet.spawn(urllib2.urlopen, 'http://secondlife.com')
  25. >>> gt2.wait()
  26. >>> gt.wait()
  27. Getting Eventlet
  28. ==================
  29. The easiest way to get Eventlet is to use pip::
  30. pip install -U eventlet
  31. To install latest development verson once::
  32. pip install -U https://github.com/eventlet/eventlet/archive/master.zip
  33. Building the Docs Locally
  34. =========================
  35. 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`)::
  36. cd doc
  37. make html
  38. The built html files can be found in doc/_build/html afterward.
  39. Twisted
  40. =======
  41. Eventlet had Twisted hub in the past, but community interest to this integration has dropped over time,
  42. now it is not supported, so with apologies for any inconvenience we discontinue Twisted integration.
  43. If you have a project that uses Eventlet with Twisted, your options are:
  44. * use last working release eventlet==0.14
  45. * 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.
  46. * fork Eventlet, revert Twisted removal, identify and fix problems. This work may be merged back into main project.
  47. Apologies for any inconvenience.
  48. Flair
  49. =====
  50. .. image:: https://travis-ci.org/eventlet/eventlet.svg?branch=master
  51. :target: https://travis-ci.org/eventlet/eventlet
  52. .. image:: https://codecov.io/gh/eventlet/eventlet/branch/master/graph/badge.svg
  53. :target: https://codecov.io/gh/eventlet/eventlet
  54. Platform: UNKNOWN
  55. Classifier: Development Status :: 4 - Beta
  56. Classifier: Intended Audience :: Developers
  57. Classifier: License :: OSI Approved :: MIT License
  58. Classifier: Operating System :: MacOS :: MacOS X
  59. Classifier: Operating System :: Microsoft :: Windows
  60. Classifier: Operating System :: POSIX
  61. Classifier: Programming Language :: Python :: 2
  62. Classifier: Programming Language :: Python :: 2.6
  63. Classifier: Programming Language :: Python :: 2.7
  64. Classifier: Programming Language :: Python :: 3
  65. Classifier: Programming Language :: Python :: 3.3
  66. Classifier: Programming Language :: Python :: 3.4
  67. Classifier: Programming Language :: Python :: 3.5
  68. Classifier: Programming Language :: Python
  69. Classifier: Topic :: Internet
  70. Classifier: Topic :: Software Development :: Libraries :: Python Modules