Skip to main content

A simple tool to help daemonize bottle applications.

Project description

A simple tool to help make bottle appliations run in the background as a unix/linux daemon. Try it out by installing with pip:

> pip install bottledaemon

Or, alternatively, install from source:

> git clone
> cd bottledaemon
> python install

Usage is pretty straighforward:

from bottledaemon import daemon_run
from bottle import route

def hello():
  return "Hello World"

if __name__ == "__main__":

The above application will launch in the background. This top-level script can be used to start/stop the background process easily:

jonathans-air:bottle-daemon jhood$ python bottledaemon/
usage: [-h] {start,stop}

The daemon library guarantees that your application will only be lauched a single time - so multiple “start” commands are OK.

Project details

Download files

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

Files for BottleDaemon, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size BottleDaemon-0.1.2.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page