Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Redis Cache for the Tryton Framework

Project description

Redis Cache backend for the Tryton application framework.

In order to configure the redis cache you should modify your trytond configuration file to include the redis_tryton.RedisCache as class of the cache section. Optionally you can especify the redis uri with the uri value. If you do not specify the uri value it will use redis:/ as default value. An example configuration file looks like:


Once you have specified the config file, everything should work out of the box and you should see your cache values created on the redis database.

It uses msgpack as an eficient way to dump python objects to the redis cache.


Feel free to open Issues on the bitbucket issue tracker if you have some problems with the software or do you want to discuss some posible improvements.

Pull Request are very welcomme also!


You can send me and email on if you encounter any problems. I will try to reply ASAP, but it may take some time to get a reply, so please be patient.


This code is based on the Coopengo Guys Redis Cache implementation, so without their effort this should not be possible. Please give them many thanks.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
redis_tryton-0.4-py2-none-any.whl (5.1 kB) Copy SHA256 hash SHA256 Wheel 2.7
redis_tryton-0.4-py3-none-any.whl (12.2 kB) Copy SHA256 hash SHA256 Wheel py3
redis_tryton-0.4.tar.gz (16.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page