Description
Jug is a Python framework for task-based parallelization. You write your code as a set of tasks, and Jug runs different tasks on different processors. Its main backend uses the filesystem to coordinate processes and works over NFS, so processes on different machines can share the work. A second backend uses Redis, so processes only need to reach a common Redis server. Jug is pure Python and should work on any platform. Python 3.10 and newer are part of the CI suite, and older versions will probably work too. You can install it with pip, and if you want the jug shell, install IPython alongside it. It is also available from conda-forge. The README includes a short example, a link to the documentation, a video and a mailing list. The author asks that scientific publications which use Jug to generate results cite the project. The source is public on GitHub.…
Highlights
- Task-based parallel execution in Python
- Filesystem backend that works over NFS
- Redis backend for a shared server
- Pure Python, Python 3.10 and newer
- jug shell with IPython
Ratings & Reviews
No ratings yet
Be the first to rate Jug.
People also visit
Jug FAQ
What is Jug?
A Python framework that splits your code into tasks and runs them on different processors or machines.
How do the processes coordinate?
The main backend uses the filesystem, which also works over NFS. A Redis backend is available when the processes can reach a common Redis server.
How do I install it?
Run pip install Jug, or install it from conda-forge. Install IPython as well if you want the jug shell.
Which Python versions are supported?
Python 3.10 and above are part of the CI suite. Earlier versions will probably work but are not tested.
Should I cite it?
Yes, if you use Jug to generate results for a scientific publication. The README gives a citation.
What are the best Jug alternatives?
Popular alternatives to Jug include Gush, PowerJob and Toil. See all Jug alternatives



