Python Package Index : python-daemon 1.4.5
A library implementing PEP 3143 for creating well-behaved Unix daemon processes
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.
Nice framework for building daemons in python