The gevent networking library is based purely on top of coroutines. It's very similar in nature when compared to Twisted and provides us with a similar range of functionality that we can leverage to build our own network-based event-driven Python applications.
Its features include the following:
- A fast event loop
- Lightweight execution units based on greenlets
- An API that reuses concepts from the Python standard library
- Cooperative sockets and SSL modules
- TCP/UDP/HTTP servers
- Thread pools
- Sub-process support
It also includes a number of other features. It features a healthy collection of internal methods and classes that enable us, as developers, to develop some pretty powerful and flexible systems. If you are interested in reading up on everything that it provides, then I suggest you check out the official documentation, which can be found at http://www.gevent.org...