{ "info": { "author": "Ren Peng", "author_email": "ithink.ren@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3 :: Only" ], "description": "|\n\nNAME\n====\n\n DaemonLite is a library for writing system daemons in Python. It is distributed under MIT license.\n\n Based on https://github.com/serverdensity/python-daemon\n\n\n|\n\nSYNOPSIS\n========\n\n.. code-block::\n\n\n from DaemonLite import DaemonLite\n\n class Staff(DaemonLite) :\n def run(self) :\n # Do something\n \n staff = Staff('/var/staff/staff.pid')\n staff.start()\n\n\n|\n\nActions\n===========\n start() - starts the daemon (creates PID and daemonizes).\n stop() - stops the daemon (stops the child process and removes the PID).\n restart() - does stop() then start().\n\n\n|\n\nForeground\n===========\n This is useful for debugging because you can start the code without making it a daemon. The running script then depends on the open shell like any normal Python script.\n\n To do this, just call the run() method directly.\n\n.. code-block::\n\n\n staff.run()\n\n\n|\n\nDESCRIPTION\n===========\n This is a Python class that will daemonize your Python script so it can continue running in the background. It works on Unix, Linux and OS X, creates a PID file and has standard commands (start, stop, restart) + a foreground mode.", "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/laodifang/DaemonLite.git", "keywords": "Python Daemon", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "DaemonLite", "package_url": "https://pypi.org/project/DaemonLite/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/DaemonLite/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/laodifang/DaemonLite.git" }, "release_url": "https://pypi.org/project/DaemonLite/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "This is a Python class that will daemonize your Python script so it can continue running in the background", "version": "0.0.2" }, "last_serial": 1745196, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "45ab3e2c66bd681c055dc24e28e269d7", "sha256": "6661fec6eb13c1f37004d2d5b27515a7cb4c1786109a7a91c5cb3025a9f95f54" }, "downloads": -1, "filename": "DaemonLite-0.0.1.tar.gz", "has_sig": false, "md5_digest": "45ab3e2c66bd681c055dc24e28e269d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3175, "upload_time": "2015-09-30T07:39:54", "url": "https://files.pythonhosted.org/packages/c3/4b/b1f964fb18af545690546ff81b938017f9fdb8af8b36315ca0d6e0994915/DaemonLite-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "161a4ee9b3ba4a9197b31afe32d59b3a", "sha256": "de1fbdf8837acbe1009106aae051d4f3add978ae055f35313952a63ccac31088" }, "downloads": -1, "filename": "DaemonLite-0.0.2.tar.gz", "has_sig": false, "md5_digest": "161a4ee9b3ba4a9197b31afe32d59b3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3213, "upload_time": "2015-09-30T08:07:39", "url": "https://files.pythonhosted.org/packages/b7/28/8cae8f6f1772f8d979dad148f64e3db2d2669751b11f2fa7bd9c63ff0f7e/DaemonLite-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "161a4ee9b3ba4a9197b31afe32d59b3a", "sha256": "de1fbdf8837acbe1009106aae051d4f3add978ae055f35313952a63ccac31088" }, "downloads": -1, "filename": "DaemonLite-0.0.2.tar.gz", "has_sig": false, "md5_digest": "161a4ee9b3ba4a9197b31afe32d59b3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3213, "upload_time": "2015-09-30T08:07:39", "url": "https://files.pythonhosted.org/packages/b7/28/8cae8f6f1772f8d979dad148f64e3db2d2669751b11f2fa7bd9c63ff0f7e/DaemonLite-0.0.2.tar.gz" } ] }