https://github.com/mopemope/jega
Jega is a concurrent networking and cooperative multitasking library for Python3.
https://github.com/mopemope/jega
Last synced: 9 months ago
JSON representation
Jega is a concurrent networking and cooperative multitasking library for Python3.
- Host: GitHub
- URL: https://github.com/mopemope/jega
- Owner: mopemope
- License: other
- Created: 2013-07-17T13:21:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-17T13:27:31.000Z (over 12 years ago)
- Last Synced: 2025-03-27T22:22:08.501Z (10 months ago)
- Language: C
- Size: 262 KB
- Stars: 26
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
Jega
============
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.
Requirements
---------------------------------
Jega requires **Python 3.x >= 3.2** . and **greenlet >= 0.4.0**.
Jega supports Linux, FreeBSD (Mac OS X not test).
Installation
============
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
Running tests
======================
Jega use py.test_.
From the toplevel directory, run: ``py.test tests/``
.. _picoev: https://github.com/kazuho/picoev
.. _greenlet: http://pypi.python.org/pypi/greenlet
.. _py.test: http://pypi.python.org/pypi/pytest
.. _evergreen: http://pypi.python.org/pypi/evergreen
.. _gevent: http://www.gevent.org
.. _c-ares: http://c-ares.haxx.se/