Jega is a concurrent networking and cooperative multitasking library for Python3.
Features:
- Fast event loop based on picoev.
- Lightweight task based on greenlet and fast scheduler.
- Cooperative synchronization primitives: locks, events, queues, channels
- Futures API (almost) compatible with the standard library
- DNS queries performed through c-ares or a threadpool.
- Cooperative versions of several standard library modules
- Ability to use standard library and 3rd party modules written for standard blocking sockets
Jega is inspired by gevent and evergreen and PEP3156.
Jega requires Python 3.x >= 3.2 . and greenlet >= 0.4.0.
Jega supports Linux, FreeBSD (Mac OS X not test).
Install from pypi:
$ easy_install -ZU jega
If you install Jega with lastest source code, run setup.py
:
$ python setup.py develop $ python setup.py install
Jega use py.test.
From the toplevel directory, run: py.test tests/