Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(3)  |  Import(0)
A generic daemon class.

Usage: subclass the Daemon class and override the run() method

src/m/a/mattdaemon-1.1.1/mattdaemon/example.py   mattdaemon(Download)
class MyDaemon(mattdaemon.daemon):
	def run(self, *args, **kwargs):
		from my.project import main
		main()
 

src/t/v/tvdosage-0.1.3/tvdosage/dosagedaemon.py   tvdosage(Download)
class MyDaemon(mattdaemon.daemon):
 
    def run(self, *args, **kwargs):
        dosage = DosageDaemon()
        while True:

src/c/h/chr-2.1.1/chru/chra.py   chr(Download)
class daemon(mattdaemon.daemon):
    def run(self, *args, **kwargs):
        """ This method will simply import the web control,
            set up the Flask app, and then run the app.
        """