moved to https://github.com/milahu/gnumake-tokenpool
python client for the GNU make jobserver
pip install git+https://github.com/milahu/gnumake-jobclient-py
import gnumake_jobclient
jobClient = gnumake_jobclient.JobClient()
token = jobClient.acquire()
# do some work
jobClient.release(token)
see also test/jobclient/test.py