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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for python-pidfile-1.0.1.tar.gz
Algorithm Hash digest
SHA256 19b1525610697dbc5db188d8d13341d1939eaea4b616acb09a3b3b6fa1415fce
MD5 719b1a8a02f5b5404a3b36c7851cee76
BLAKE2b-256 a0264e499769c4f953f1543681563c870507fc47e7fee027627eb6ac037facd3

See more details on using hashes here.

File details

Details for the file python_pidfile-1.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for python_pidfile-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 2a1bb174044d070f299cc104491815e5ed59f20f50d5905da9f097f2823fbe58
MD5 88c1dfee8d19e12d3f91336ee788eb1e
BLAKE2b-256 90083a47919ec758c579400a2e1a353e541e69e8996e2e2bb7d0ee223195ed7e

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