Skip to main content

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:/127.0.0.1:6379/0 as default value. An example configuration file looks like:

[cache]
class=redis_tryton.RedisCache
uri=redis://127.0.0.1:6379/0

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.

Issues

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!

Support

You can send me and email on sergi@koolpi.com 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.

Thanks

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.

Release files for redis_tryton 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redis_tryton 0.4
File Size Uploaded
redis_tryton-0.4.tar.gz 16.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for redis_tryton 0.4
File Interpreter ABI Platform
redis_tryton-0.4-py3-none-any.whl Python 3 none any Details
redis_tryton-0.4-py2-none-any.whl Python 2 none any Details

Total release size: 34.2 kB

Release files / redis_tryton-0.4.tar.gz

Download URL redis_tryton-0.4.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aa62b08379d46b6400f0d8ce90f415ef022fb5d5807a50810cf29d1238880d07
BLAKE2b-256 checksum
How to use checksums
bf64120c945e1ce25f367e992dd6c854912b1fc1758c014437d8d73f6d9f9924
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / redis_tryton-0.4-py3-none-any.whl

Download URL redis_tryton-0.4-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
199df8836ab10605649a41805b8495637fd6cfe178a759700c661959f7c6d5c3
BLAKE2b-256 checksum
How to use checksums
5822ef784886f3c7d4bbb1085e27224b69876bea3f2b0cc60da6c08141f6a1c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / redis_tryton-0.4-py2-none-any.whl

Download URL redis_tryton-0.4-py2-none-any.whl
Size 5.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
c79ebcb60daf139409cdf5ab69ad220001cd8232b95b39d2b5e011551d77de4f
BLAKE2b-256 checksum
How to use checksums
3ce72c8112385b4ec3bdecc62bd676835b662b9e04f8748eb09ef0a4f2203ad7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4 This release

3 release files

0.3

3 release files

0.2

3 release files

0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page