skip to navigation
skip to content

python-pidfile 2.0.0

PIDFile context processor. Supported py2 and py3

Python context manager for manage pid files:

from pidfile import PIDFile

if __name__ == "__main__":

    with PIDFile("/var/run/myprogram.pid"):
        print('Hello world')
 
File Type Py Version Uploaded on Size
python-pidfile-2.0.0.tar.gz (md5) Source 2017-12-07 2KB
python_pidfile-2.0.0-py2-none-any.whl (md5) Python Wheel 2.7 2017-12-07 4KB
python_pidfile-2.0.0-py3-none-any.whl (md5) Python Wheel 3.5 2017-12-07 4KB