{ "info": { "author": "Brian Hatfield", "author_email": "bmhatfield@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "python-pidfile\n==============\n\nA Pidfile Context Manager compatible with python-daemon's DaemonContext()\n\n\nThanks\n======\n\nThis is a direct copy (minus example usage in file) from an ActiveState recipe found here:\nhttp://code.activestate.com/recipes/577911-context-manager-for-a-daemon-pid-file/\n\nExample Usage\n=============\n```python\nimport daemon\ncontext = daemon.DaemonContext()\ncontext.pidfile = PidFile(\"/var/run/mydaemon\")\n```\n\nor\n\n```python\nwith daemon.DaemonContext(working_directory=\".\", pidfile=PidFile(pidpath)):\n #do your daemonstuff here\n```\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bmhatfield/python-pidfile.git", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pidfile", "package_url": "https://pypi.org/project/pidfile/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pidfile/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bmhatfield/python-pidfile.git" }, "release_url": "https://pypi.org/project/pidfile/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A Pidfile Context Manager compatible with python-daemon's DaemonContext()", "version": "0.1.1" }, "last_serial": 1453093, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5dcbebc8df05eceafc044144a456c303", "sha256": "86f0595171255f9b055cc7e78e1cd72cd4e611c6d0997b3b39cb1d5b59181d6f" }, "downloads": -1, "filename": "pidfile-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5dcbebc8df05eceafc044144a456c303", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1108, "upload_time": "2013-08-19T17:42:04", "url": "https://files.pythonhosted.org/packages/54/08/ea24df034fc93025f5284757ebac7c8e383de3446fb3e0b065876c1087a2/pidfile-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "04e15a9d5290dd3ef0bf7287a99280fc", "sha256": "f1ea120cf68bf5867f5bae35aeeeac3df21b81eecc76cb8911177b06efc816e3" }, "downloads": -1, "filename": "pidfile-0.1.1.tar.gz", "has_sig": false, "md5_digest": "04e15a9d5290dd3ef0bf7287a99280fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1540, "upload_time": "2015-03-08T14:55:16", "url": "https://files.pythonhosted.org/packages/dc/99/6aa63129363386783d04ba9f388cd1d8e92a4f3d2e780501d213a6dd8dc0/pidfile-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "04e15a9d5290dd3ef0bf7287a99280fc", "sha256": "f1ea120cf68bf5867f5bae35aeeeac3df21b81eecc76cb8911177b06efc816e3" }, "downloads": -1, "filename": "pidfile-0.1.1.tar.gz", "has_sig": false, "md5_digest": "04e15a9d5290dd3ef0bf7287a99280fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1540, "upload_time": "2015-03-08T14:55:16", "url": "https://files.pythonhosted.org/packages/dc/99/6aa63129363386783d04ba9f388cd1d8e92a4f3d2e780501d213a6dd8dc0/pidfile-0.1.1.tar.gz" } ] }