Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python Daemon library

Project Description

python-seth is a pretty simple object named Daemon used to daemonize a process.

To do so subclass the Daemon object and override its run method with the code you want to turn into a unix daemon.

You can override the shutdown method which is called on Daemon stop (either via the stop method or on SIGTERM).

Cf. examples for code snippet.

  • redirects stderr|stdout to file
  • writes a pid file
  • transparently deletes the pid file at stop
  • catch SIGTERM and handles a clean stop via shutdown method
Code maintained at Please send feedback at <>

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(16.1 kB) Copy SHA256 Hash SHA256
Source None Dec 1, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers