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!

Symmetrically encrypted serializers for Kombu

Project Description
Kombu Fernet Serializers

This library registers a set of `Kombu`_ serializers which take those built into
Kombu and symmetrically encrypts them using `Fernet`_.

The encryption key is accessed via the `KOMBU_FERNET_KEY` environment variable.
To set the encryption key::

import os
from cryptography.fernet import Fernet

key = Fernet.generate_key()
os.environ['KOMBU_FERNET_KEY'] = key

To try it out, start a redis server and from the `example` directory, run::

pip install celery redis
celery -A tasks worker

Then from another shell::

python -c "from tasks import add; add.delay(1, 2)"

.. _`Kombu`:
.. _`Fernet`:
.. _`Celery`:
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
kombu-fernet-serializers-0.0.5.tar.gz (3.8 kB) Copy SHA256 Checksum SHA256 Source Oct 17, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting