skip to navigation
skip to content

Not Logged In

BottleDaemon 0.1.0

A simple tool to help daemonize bottle applications.

Latest Version: 0.1.1

A simple tool to help make bottle appliations run in the background a unix/linux daemon.

Usage is pretty straighforward:

from bottledaemon import daemon_run
from bottle import route

@route("/hello")
def hello():
  return "Hello World"

if __name__ == "__main__":
  daemon_run()

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/bottledaemon.py
usage: bottledaemon.py [-h] {start,stop}

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

 
File Type Py Version Uploaded on Size
BottleDaemon-0.1.0.macosx-10.9-intel.tar.gz (md5) Source 2014-07-24 2KB
BottleDaemon-0.1.0.tar.gz (md5) Source 2014-07-24 2KB
  • Downloads (All Versions):
  • 23 downloads in the last day
  • 98 downloads in the last week
  • 338 downloads in the last month