python-daemon


Namepython-daemon JSON
Version 3.1.2 PyPI version JSON
download
home_pageNone
SummaryLibrary to implement a well-behaved Unix daemon process.
upload_time2024-12-03 08:41:07
maintainerBen Finney
docs_urlNone
authorNone
requires_python>=3.7
licenseCopying this work ################# ‘python-daemon’ is under Copyright © 2008–2024 Ben Finney and others. This work, ‘python-daemon’, is free software: you may copy, modify, and/or distribute this work under certain conditions; see the relevant files for specific grant of license. No warranty expressed or implied. ‘daemon’ library ================ The files ‘daemon/*’ constitute the Python ‘daemon’ library. The Python ‘daemon’ library is licensed to you under the terms of the Apache License, version 2.0 as published by the Apache Software Foundation. See the file `LICENSE.ASF-2 <LICENSE.ASF-2>`_ for details. All other files =============== All other files in this distribution, including but not limited to the packaging definition and test suite, are licensed to you under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 of that license or any later version. See the file `LICENSE.GPL-3 <LICENSE.GPL-3>`_ for details. .. This document is written using `reStructuredText`_ markup, and can be rendered with `Docutils`_ to other formats. .. _Docutils: https://docutils.sourceforge.io/ .. _reStructuredText: https://docutils.sourceforge.io/rst.html .. This is free software: you may copy, modify, and/or distribute this work under the terms of the Apache License version 2.0 as published by the Apache Software Foundation. No warranty expressed or implied. See the file ‘LICENSE.ASF-2’ for details. .. Local variables: coding: utf-8 mode: text mode: rst End: vim: fileencoding=utf-8 filetype=rst :
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": null,
    "name": "python-daemon",
    "maintainer": "Ben Finney",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "ben+python@benfinney.id.au",
    "keywords": "daemon, fork, unix",
    "author": null,
    "author_email": "Ben Finney <ben+python@benfinney.id.au>",
    "download_url": "https://files.pythonhosted.org/packages/3d/37/4f10e37bdabc058a32989da2daf29e57dc59dbc5395497f3d36d5f5e2694/python_daemon-3.1.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": "Copying this work #################  \u2018python-daemon\u2019 is under Copyright \u00a9 2008\u20132024 Ben Finney and others.  This work, \u2018python-daemon\u2019, is free software: you may copy, modify, and/or distribute this work under certain conditions; see the relevant files for specific grant of license. No warranty expressed or implied.  \u2018daemon\u2019 library ================  The files \u2018daemon/*\u2019 constitute the Python \u2018daemon\u2019 library.  The Python \u2018daemon\u2019 library is licensed to you under the terms of the Apache License, version 2.0 as published by the Apache Software Foundation. See the file `LICENSE.ASF-2 <LICENSE.ASF-2>`_ for details.  All other files ===============  All other files in this distribution, including but not limited to the packaging definition and test suite, are licensed to you under the terms of the GNU General Public License as published by the Free Software Foundation; version 3 of that license or any later version. See the file `LICENSE.GPL-3 <LICENSE.GPL-3>`_ for details.    .. This document is written using `reStructuredText`_ markup, and can be rendered with `Docutils`_ to other formats.  ..  _Docutils: https://docutils.sourceforge.io/ ..  _reStructuredText: https://docutils.sourceforge.io/rst.html  .. This is free software: you may copy, modify, and/or distribute this work under the terms of the Apache License version 2.0 as published by the Apache Software Foundation. No warranty expressed or implied. See the file \u2018LICENSE.ASF-2\u2019 for details.  .. Local variables: coding: utf-8 mode: text mode: rst End: vim: fileencoding=utf-8 filetype=rst : ",
    "summary": "Library to implement a well-behaved Unix daemon process.",
    "version": "3.1.2",
    "project_urls": {
        "Change Log": "https://pagure.io/python-daemon/blob/main/f/ChangeLog",
        "Home Page": "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": "453cb88167e2d6785c0e781ee5d498b07472aeb9b6765da3b19e7cc9e0813841",
                "md5": "3c898fd63dc363b9a4261c1855ffe762",
                "sha256": "b906833cef63502994ad48e2eab213259ed9bb18d54fa8774dcba2ff7864cec6"
            },
            "downloads": -1,
            "filename": "python_daemon-3.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3c898fd63dc363b9a4261c1855ffe762",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 30872,
            "upload_time": "2024-12-03T08:41:03",
            "upload_time_iso_8601": "2024-12-03T08:41:03.322505Z",
            "url": "https://files.pythonhosted.org/packages/45/3c/b88167e2d6785c0e781ee5d498b07472aeb9b6765da3b19e7cc9e0813841/python_daemon-3.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d374f10e37bdabc058a32989da2daf29e57dc59dbc5395497f3d36d5f5e2694",
                "md5": "d42ee28735506ea1cb51c348530d6d94",
                "sha256": "f7b04335adc473de877f5117e26d5f1142f4c9f7cd765408f0877757be5afbf4"
            },
            "downloads": -1,
            "filename": "python_daemon-3.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "d42ee28735506ea1cb51c348530d6d94",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 71576,
            "upload_time": "2024-12-03T08:41:07",
            "upload_time_iso_8601": "2024-12-03T08:41:07.843106Z",
            "url": "https://files.pythonhosted.org/packages/3d/37/4f10e37bdabc058a32989da2daf29e57dc59dbc5395497f3d36d5f5e2694/python_daemon-3.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-03 08:41:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "python-daemon"
}
        
Elapsed time: 0.37734s