lump.gunicorn module

class lump.gunicorn.GunicornApplication(app, options=None)[source]

Bases: gunicorn.app.base.BaseApplication

Usable to run a gunicorn application with sensible defaults

applied_automagically = ('workers', 'bind')
load()[source]
load_config()[source]

This method is used to load the configuration from one or several input(s). Custom Command line, configuration file. You have to override this method in your class.

class lump.gunicorn.GunicornInteractiveApplication(app, options=None)[source]

Bases: lump.gunicorn.GunicornApplication

Usable to run a gunicorn application with sensible default and the possibility to provide some general options using commands (e.g. memory information).

print_help()[source]
run()[source]