PKG-INFO 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Metadata-Version: 1.0
  2. Name: eventlet
  3. Version: 0.9.14
  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 easy_install or pip::
  30. easy_install eventlet
  31. pip install eventlet
  32. The development `tip`_ is available via easy_install as well::
  33. easy_install 'eventlet==dev'
  34. pip install 'eventlet==dev'
  35. .. _tip: http://bitbucket.org/which_linden/eventlet/get/tip.zip#egg=eventlet-dev
  36. Building the Docs Locally
  37. =========================
  38. To build a complete set of HTML documentation, you must have Sphinx, which can be found at http://sphinx.pocoo.org/ (or installed with `easy_install sphinx`)
  39. cd doc
  40. make html
  41. The built html files can be found in doc/_build/html afterward.
  42. Platform: UNKNOWN
  43. Classifier: License :: OSI Approved :: MIT License
  44. Classifier: Programming Language :: Python
  45. Classifier: Operating System :: MacOS :: MacOS X
  46. Classifier: Operating System :: POSIX
  47. Classifier: Operating System :: Microsoft :: Windows
  48. Classifier: Topic :: Internet
  49. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  50. Classifier: Intended Audience :: Developers
  51. Classifier: Development Status :: 4 - Beta