safelock (pypi): Safelock gives you simple systemwide multithread, multiprocess, multiprogram locks.
Keywords: locks|multiprocess|multithread|multiinstance