Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

PIDFile context processor. Supported py2 and py3

Project description

https://travis-ci.org/mosquito/python-pidfile.svg?branch=master Latest Version

Python context manager for manage pid files:

from pidfile import PIDFile

if __name__ == "__main__":

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

Project details


Release history Release notifications

This version
History Node

2.0.0

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
python_pidfile-2.0.0-py2-none-any.whl (4.9 kB) Copy SHA256 hash SHA256 Wheel 2.7 Dec 7, 2017
python_pidfile-2.0.0-py3-none-any.whl (4.9 kB) Copy SHA256 hash SHA256 Wheel 3.5 Dec 7, 2017
python-pidfile-2.0.0.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None Dec 7, 2017

Supported by

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