This library implements the well-behaved daemon specification of
:pep:`3143`, “Standard daemon process library”.
A well-behaved Unix daemon process is tricky to get right, but the
required steps are much the same for every daemon program. A
`DaemonContext` instance holds the behaviour and configured
process environment for the program; use the instance as a context
manager to enter a daemon state.
Simple example of usage::
import daemon
from spam import do_main_program
with daemon.DaemonContext():
do_main_program()
Customisation of the steps to become a daemon is available by
setting options on the `DaemonContext` instance; see the
documentation for that class for each option.
Raw data
{
"_id": null,
"home_page": "https://pagure.io/python-daemon/",
"name": "python-daemon",
"maintainer": "Ben Finney",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "ben+python@benfinney.id.au",
"keywords": "daemon, fork, unix",
"author": "Ben Finney",
"author_email": "ben+python@benfinney.id.au",
"download_url": "https://files.pythonhosted.org/packages/4a/4a/746aebd8a8f841c53720ef40bbec8f2075d07041db29d01a2a50cd1899e7/python_daemon-3.0.2.tar.gz",
"platform": null,
"description": "This library implements the well-behaved daemon specification of\n:pep:`3143`, \u201cStandard daemon process library\u201d.\n\nA well-behaved Unix daemon process is tricky to get right, but the\nrequired steps are much the same for every daemon program. A\n`DaemonContext` instance holds the behaviour and configured\nprocess environment for the program; use the instance as a context\nmanager to enter a daemon state.\n\nSimple example of usage::\n\n import daemon\n\n from spam import do_main_program\n\n with daemon.DaemonContext():\n do_main_program()\n\nCustomisation of the steps to become a daemon is available by\nsetting options on the `DaemonContext` instance; see the\ndocumentation for that class for each option.\n",
"bugtrack_url": null,
"license": "Apache-2, GPL-3+",
"summary": "Library to implement a well-behaved Unix daemon process.",
"version": "3.0.2",
"project_urls": {
"Change Log": "https://pagure.io/python-daemon/blob/main/f/ChangeLog",
"Homepage": "https://pagure.io/python-daemon/",
"Issue Tracker": "https://pagure.io/python-daemon/issues",
"Source": "https://pagure.io/python-daemon/"
},
"split_keywords": [
"daemon",
" fork",
" unix"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f81819d6921d04ee045d6732140ce17cda66271f2835d0e8c947b91f1ad5ceaf",
"md5": "ed99262d81a9fad1600d2095dbd5b0dc",
"sha256": "8b19c37aff5d9231e91fd67f6b5a647bd2a3e0b267b5af7acb9f0b7e7d0bca37"
},
"downloads": -1,
"filename": "python_daemon-3.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ed99262d81a9fad1600d2095dbd5b0dc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 32213,
"upload_time": "2024-07-27T01:04:55",
"upload_time_iso_8601": "2024-07-27T01:04:55.590558Z",
"url": "https://files.pythonhosted.org/packages/f8/18/19d6921d04ee045d6732140ce17cda66271f2835d0e8c947b91f1ad5ceaf/python_daemon-3.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4a4a746aebd8a8f841c53720ef40bbec8f2075d07041db29d01a2a50cd1899e7",
"md5": "70b15e08c10aec102f66a6c5a255abca",
"sha256": "47027e6bf9b3685f31201f7bdd6dc6248713cd666267addf2b2efe0aa66a2b31"
},
"downloads": -1,
"filename": "python_daemon-3.0.2.tar.gz",
"has_sig": false,
"md5_digest": "70b15e08c10aec102f66a6c5a255abca",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 70925,
"upload_time": "2024-07-27T01:04:58",
"upload_time_iso_8601": "2024-07-27T01:04:58.150096Z",
"url": "https://files.pythonhosted.org/packages/4a/4a/746aebd8a8f841c53720ef40bbec8f2075d07041db29d01a2a50cd1899e7/python_daemon-3.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-27 01:04:58",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "python-daemon"
}