python jobclient and jobserver for the GNU make tokenpool protocol
install from github
pip install git+https://github.com/milahu/gnumake-tokenpool
or install from pypi
pip install gnumake-tokenpool
import gnumake_tokenpool
jobClient = gnumake_tokenpool.JobClient()
token = jobClient.acquire()
# do some work
jobClient.release(token)
see also test/jobclient/test.py