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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for python-pidfile-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1fd9f1d062f0f8e810ba82a4e4fa23a37fb66f553ba4422d78237f1d0603c80b
MD5 62dba1d4e0802550d7acc45b28cd4fc5
BLAKE2b-256 7f4447bbb4eaf978eef57bb4e7fe4bcfdc973ecda931dd29932248aa74ea1263

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