Metadata-Version: 2.0
Name: python-pidfile
Version: 1.0.1
Summary: PIDFile context processor. Supported py2 and py3
Home-page: https://github.com/mosquito/python-pidfile
Author: Dmitry Orlov <me@mosquito.su>
Author-email: me@mosquito.su
License: MIT
Platform: unix
Classifier: Development Status :: 5 - Production/Stable
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: License :: OSI Approved :: MIT License

Python PIDFile
==============

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

.. image:: https://img.shields.io/pypi/v/python-pidfile.svg
    :target: https://pypi.python.org/pypi/python-pidfile/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/wheel/python-pidfile.svg
    :target: https://pypi.python.org/pypi/python-pidfile/

.. image:: https://img.shields.io/pypi/pyversions/python-pidfile.svg
    :target: https://pypi.python.org/pypi/python-pidfile/

.. image:: https://img.shields.io/pypi/l/python-pidfile.svg
    :target: https://pypi.python.org/pypi/python-pidfile/


Python context manager for manage pid files::

    from pidfile import pidfile

    if __name__ == "__main__":

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




