Skip to main content

PIDFile context processor. Supported py2 and py3

Project description

https://travis-ci.org/mosquito/python-pidfile.svg?branch=master Latest Version https://img.shields.io/pypi/wheel/python-pidfile.svg https://img.shields.io/pypi/pyversions/python-pidfile.svg https://img.shields.io/pypi/l/python-pidfile.svg

Python context manager for manage pid files:

from pidfile import pidfile

if __name__ == "__main__":

    with PIDFile("/var/run/myprogram.pid"):
        pass

Project details


Download files

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

Source Distribution

python-pidfile-1.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

python_pidfile-1.0.1-py2-none-any.whl (4.4 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page