python-daemon


Namepython-daemon JSON
Version 2.1.2 PyPI version JSON
download
home_pagehttps://pagure.io/python-daemon/
SummaryLibrary to implement a well-behaved Unix daemon process.
upload_time2016-10-26 10:16:01
maintainer
docs_urlNone
authorBen Finney
requires_python
licenseApache-2
keywords daemon
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

            {
    "maintainer": "", 
    "docs_url": null, 
    "requires_python": "", 
    "maintainer_email": "", 
    "cheesecake_code_kwalitee_id": null, 
    "keywords": "daemon", 
    "upload_time": "2016-10-26 10:16:01", 
    "author": "Ben Finney", 
    "home_page": "https://pagure.io/python-daemon/", 
    "download_url": "https://pypi.python.org/packages/b2/fb/a280d65f81e9d69989c8d6c4e0bb18d7280cdcd6d406a2cc3f4eb47d4402/python-daemon-2.1.2.tar.gz", 
    "platform": "", 
    "version": "2.1.2", 
    "cheesecake_documentation_id": 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.", 
    "lcname": "python-daemon", 
    "bugtrack_url": null, 
    "github": false, 
    "name": "python-daemon", 
    "license": "Apache-2", 
    "summary": "Library to implement a well-behaved Unix daemon process.", 
    "split_keywords": [
        "daemon"
    ], 
    "author_email": "ben+python@benfinney.id.au", 
    "urls": [
        {
            "has_sig": true, 
            "upload_time": "2016-10-26T10:16:01", 
            "comment_text": "", 
            "python_version": "source", 
            "url": "https://pypi.python.org/packages/b2/fb/a280d65f81e9d69989c8d6c4e0bb18d7280cdcd6d406a2cc3f4eb47d4402/python-daemon-2.1.2.tar.gz", 
            "md5_digest": "9c57343d81f2a96c51cffeab982b04d2", 
            "downloads": 0, 
            "filename": "python-daemon-2.1.2.tar.gz", 
            "packagetype": "sdist", 
            "path": "b2/fb/a280d65f81e9d69989c8d6c4e0bb18d7280cdcd6d406a2cc3f4eb47d4402/python-daemon-2.1.2.tar.gz", 
            "size": 76176
        }, 
        {
            "has_sig": true, 
            "upload_time": "2016-10-26T10:16:05", 
            "comment_text": "", 
            "python_version": "3.5", 
            "url": "https://pypi.python.org/packages/f4/59/816004688f8e8602526553cd96226f34657ce4a86daa2240c3eebb0568a3/python_daemon-2.1.2-py2.py3-none-any.whl", 
            "md5_digest": "d7d38fa204e3e2a82a3afa0b8e4cc621", 
            "downloads": 0, 
            "filename": "python_daemon-2.1.2-py2.py3-none-any.whl", 
            "packagetype": "bdist_wheel", 
            "path": "f4/59/816004688f8e8602526553cd96226f34657ce4a86daa2240c3eebb0568a3/python_daemon-2.1.2-py2.py3-none-any.whl", 
            "size": 19425
        }
    ], 
    "_id": null, 
    "cheesecake_installability_id": null
}