python-daemon 3.1.2
pip install python-daemon
Latest version
Released:
Library to implement a well-behaved Unix daemon process.
Navigation
Verified details
These details have been verified by PyPIMaintainers
Meta
- Author: Ben Finney
- Maintainer: Ben Finney
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Copying this work ################# ‘python-daemon’ is under Copyright © 2008–2024 Ben Finney and o...)
- Maintainer: Ben Finney
- Tags daemon, fork, unix
- Requires: Python >=3.7
-
Provides-Extra:
doc
,static-analysis
,build
,test
,dist
,devel
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
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.
Project details
Verified details
These details have been verified by PyPIMaintainers
Meta
- Author: Ben Finney
- Maintainer: Ben Finney
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Copying this work ################# ‘python-daemon’ is under Copyright © 2008–2024 Ben Finney and o...)
- Maintainer: Ben Finney
- Tags daemon, fork, unix
- Requires: Python >=3.7
-
Provides-Extra:
doc
,static-analysis
,build
,test
,dist
,devel
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python_daemon-3.1.2.tar.gz
.
File metadata
- Download URL: python_daemon-3.1.2.tar.gz
- Upload date:
- Size: 71.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7b04335adc473de877f5117e26d5f1142f4c9f7cd765408f0877757be5afbf4 |
|
MD5 | d42ee28735506ea1cb51c348530d6d94 |
|
BLAKE2b-256 | 3d374f10e37bdabc058a32989da2daf29e57dc59dbc5395497f3d36d5f5e2694 |
File details
Details for the file python_daemon-3.1.2-py3-none-any.whl
.
File metadata
- Download URL: python_daemon-3.1.2-py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b906833cef63502994ad48e2eab213259ed9bb18d54fa8774dcba2ff7864cec6 |
|
MD5 | 3c898fd63dc363b9a4261c1855ffe762 |
|
BLAKE2b-256 | 453cb88167e2d6785c0e781ee5d498b07472aeb9b6765da3b19e7cc9e0813841 |