Skip to content

Latest commit

 

History

History
 
 

py

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gnumake-tokenpool/py

python jobclient and jobserver for the GNU make tokenpool protocol

install

install from github

pip install git+https://github.com/milahu/gnumake-tokenpool

or install from pypi

pip install gnumake-tokenpool

usage

import gnumake_tokenpool

jobClient = gnumake_tokenpool.JobClient()

token = jobClient.acquire()

# do some work

jobClient.release(token)

see also test/jobclient/test.py