Master/Worker pool for asyncio (PEP 3156).
- Uses fork() to reuse python interpreter
- Supports proxying of stdout/stderr from workers to files
- Provides multiprocess-aware logging transport
- Supports file descriptor preserving
- May run as UNIX daemon
$ pip install aioworkerpool
Example (see quickstart.py)
.. literalinclude:: ../examples/quickstart.py :language: python
Running examples:
$ cd aioworkerpool
$ python -m examples.quickstart
- Hosted on GitHub.
- Uses Travis for continuous integration.
- Documentation on ReadTheDocs.
- POSIX operation system
- Python 3.5+ (basically, asyncio and async/await syntax)
- python-daemon
- tblib
Library is under active development so API may change dramatically.
.. toctree:: :maxdepth: 2 master worker logging