33
|
1 Metadata-Version: 1.1
|
|
2 Name: python-daemon
|
|
3 Version: 2.0.5
|
|
4 Summary: Library to implement a well-behaved Unix daemon process.
|
|
5 Home-page: https://alioth.debian.org/projects/python-daemon/
|
|
6 Author: Ben Finney
|
|
7 Author-email: ben+python@benfinney.id.au
|
|
8 License: Apache-2
|
|
9 Description: This library implements the well-behaved daemon specification of
|
|
10 :pep:`3143`, “Standard daemon process library”.
|
|
11
|
|
12 A well-behaved Unix daemon process is tricky to get right, but the
|
|
13 required steps are much the same for every daemon program. A
|
|
14 `DaemonContext` instance holds the behaviour and configured
|
|
15 process environment for the program; use the instance as a context
|
|
16 manager to enter a daemon state.
|
|
17
|
|
18 Simple example of usage::
|
|
19
|
|
20 import daemon
|
|
21
|
|
22 from spam import do_main_program
|
|
23
|
|
24 with daemon.DaemonContext():
|
|
25 do_main_program()
|
|
26
|
|
27 Customisation of the steps to become a daemon is available by
|
|
28 setting options on the `DaemonContext` instance; see the
|
|
29 documentation for that class for each option.
|
|
30 Keywords: daemon,fork,unix
|
|
31 Platform: UNKNOWN
|
|
32 Classifier: Development Status :: 4 - Beta
|
|
33 Classifier: License :: OSI Approved :: Apache Software License
|
|
34 Classifier: Operating System :: POSIX
|
|
35 Classifier: Programming Language :: Python :: 2.7
|
|
36 Classifier: Programming Language :: Python :: 3
|
|
37 Classifier: Intended Audience :: Developers
|
|
38 Classifier: Topic :: Software Development :: Libraries :: Python Modules
|