A common WSGI stack
Talisker is an enhanced runtime for your WSGI application that aims to provide a common operational platform for your python microservices.
It integrates with many standard python libraries to give you out-of-the-box logging, metrics, error reporting, status urls and more.
Python version support
Talisker 0.20.0 was the last to support Python 2.7. Talisker version >=0.21.0 only supports Python 3.5, 3.6, 3.8 and 3.10, as they come with Ubuntu LTS releases.
Simply install Talisker with Gunicorn via pip:
pip install talisker[gunicorn]
And then run your WSGI app with Talisker (as if it was regular gunicorn).:
talisker.gunicorn app:wsgi -c config.py ...
This gives you 80% of the benefits of Talisker: structured logging, metrics, sentry error handling, standardised status endpoints and more.
Note: right now, Talisker has extensive support for running with Gunicorn, with more WSGI server support planned.
Talisker integrates and configures standard python libraries into a single tool, useful in both development and production. It provides:
structured logging for stdlib logging module (with grok filter)
gunicorn as a wsgi runner
request id tracing
standard status endpoints
statsd/prometheus metrics for incoming/outgoing http requests and more.
deep sentry integration
It also optionally supports the same level of logging/metrics/sentry integration for:
general python scripts, like cron jobs or management tasks.
Talisker is opinionated, and designed to be simple to use. As such, it is not currently very configurable. However, PR’s are very welcome!
For more information, see The Documentation, which should be found at:
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for talisker-0.21.3-py3-none-any.whl