Skip to main content

PIDFile context processor. Supported py2 and py3

Project description Latest Version

Python context manager for manage pid files:

from pidfile import PIDFile

if __name__ == "__main__":

    with PIDFile("/var/run/"):
        print('Hello world')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-pidfile, version 2.0.0
Filename, size & hash File type Python version Upload date
python_pidfile-2.0.0-py2-none-any.whl (4.9 kB) View hashes Wheel 2.7
python_pidfile-2.0.0-py3-none-any.whl (4.9 kB) View hashes Wheel 3.5
python-pidfile-2.0.0.tar.gz (2.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page