python-daemon


Namepython-daemon JSON
Version 2.3.2 PyPI version JSON
download
home_pagehttps://pagure.io/python-daemon/
SummaryLibrary to implement a well-behaved Unix daemon process.
upload_time2022-10-23 00:17:09
maintainer
docs_urlNone
authorBen Finney
requires_python>=3
licenseApache-2
keywords daemon fork unix
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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": "",
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": "",
    "keywords": "daemon,fork,unix",
    "author": "Ben Finney",
    "author_email": "ben+python@benfinney.id.au",
    "download_url": "https://files.pythonhosted.org/packages/d9/3c/727b06abb46fead341a2bdad04ba4a4db5395c44c45d8ba0aa82b517e462/python-daemon-2.3.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",
    "summary": "Library to implement a well-behaved Unix daemon process.",
    "version": "2.3.2",
    "split_keywords": [
        "daemon",
        "fork",
        "unix"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "4b77f96926d14892ad159715e209383d",
                "sha256": "01d26358598f8c3f5fc6de553e2f3080ffc59cf89102d7ee8098f33c72b3c04c"
            },
            "downloads": -1,
            "filename": "python_daemon-2.3.2-py3-none-any.whl",
            "has_sig": true,
            "md5_digest": "4b77f96926d14892ad159715e209383d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 34875,
            "upload_time": "2022-10-23T00:17:06",
            "upload_time_iso_8601": "2022-10-23T00:17:06.365173Z",
            "url": "https://files.pythonhosted.org/packages/89/38/c223036ee8104ae95118d4481b5cacccf4547d7e5b8d1ee1c63d2cd57e5d/python_daemon-2.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "b7397fe73d516dc14921500a1245b41c",
                "sha256": "3deeb808e72b6b89f98611889e11cc33754f5b2c1517ecfa1aaf25f402051fb5"
            },
            "downloads": -1,
            "filename": "python-daemon-2.3.2.tar.gz",
            "has_sig": true,
            "md5_digest": "b7397fe73d516dc14921500a1245b41c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 83127,
            "upload_time": "2022-10-23T00:17:09",
            "upload_time_iso_8601": "2022-10-23T00:17:09.528667Z",
            "url": "https://files.pythonhosted.org/packages/d9/3c/727b06abb46fead341a2bdad04ba4a4db5395c44c45d8ba0aa82b517e462/python-daemon-2.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-10-23 00:17:09",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "python-daemon"
}
        
Elapsed time: 0.01258s