Synchronous evented IO with pyuv and greenlets
Gruvi is a network library for Python. It combines the efficiencies of event-based I/O with a sequential programming model. Gruvi uses libuv (via pyuv) as the underlying, high-performance event-based I/O layer, and greenlets to turn the callback programming style associated with event-based I/O into a traditional sequential programming style.
- Performance. Gruvi’s main dependencies, libuv and greenlet, have a very strong focus on performance and so does Gruvi itself. Gruvi also contains a very fast HTTP implementation based on the Joyent/Node.js event driven http-parser.
- Scalability. Thanks to libuv and the low memory usage of greenlets, Gruvi can support hundreds of thousands of concurrent connections.
- Platform support. All supported platforms (Posix, Mac OSX and Windows) are first-class citizens. This is mostly thanks to libuv.
- Minimalistic design. All of Gruvi is less than 4,000 lines of Python.
You need Python 2.6, 2.7 or 3.3+.
The following operating systems are currently tested:
- Posix (Only Linux is currently tested)
- Mac OSX
- Windows (currently untested)
Source are available from Github.
The documentation is available on readthedocs.
Gruvi is free software, available under the MIT license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size gruvi-0.9.0.tar.gz (96.9 kB)||File type Source||Python version None||Upload date||Hashes View|