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 processor for ensure once execution of program:

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.0.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file python-pidfile-1.0.0.tar.gz.

File metadata

File hashes

Hashes for python-pidfile-1.0.0.tar.gz
Algorithm Hash digest
SHA256 69960bc3386721deea16215453a286d5c32e640cb82ecfee1c81e201ea30c1a4
MD5 4377a2137c339a8cd9de11b882a0a5fb
BLAKE2b-256 3be8d4252d3541b1f68602bb01b94257bd025e87959b183ef49e69fa5c6c36e9

See more details on using hashes here.

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