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.
Metadata
Release files for python-daemon 3.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_daemon-3.1.2.tar.gz | 71.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_daemon-3.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 102.4 kB
Release files / python_daemon-3.1.2.tar.gz
| Download URL | python_daemon-3.1.2.tar.gz |
|---|---|
| Size | 71.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7b04335adc473de877f5117e26d5f1142f4c9f7cd765408f0877757be5afbf4
|
|
BLAKE2b-256 checksum How to use checksums |
3d374f10e37bdabc058a32989da2daf29e57dc59dbc5395497f3d36d5f5e2694
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / python_daemon-3.1.2-py3-none-any.whl
| Download URL | python_daemon-3.1.2-py3-none-any.whl |
|---|---|
| Size | 30.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b906833cef63502994ad48e2eab213259ed9bb18d54fa8774dcba2ff7864cec6
|
|
BLAKE2b-256 checksum How to use checksums |
453cb88167e2d6785c0e781ee5d498b07472aeb9b6765da3b19e7cc9e0813841
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|