onlyonce (pypi): Small Python lib for running scripts once and once only (with file locks, etc)
Keywords: Files|Process Locking|Scripting