Skip to main content

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:/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.

Project details


Download files

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

Source Distribution

redis_tryton-0.1.tar.gz (16.7 kB view details)

Uploaded Source

Built Distributions

redis_tryton-0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

redis_tryton-0.1-py2-none-any.whl (4.9 kB view details)

Uploaded Python 2

File details

Details for the file redis_tryton-0.1.tar.gz.

File metadata

  • Download URL: redis_tryton-0.1.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for redis_tryton-0.1.tar.gz
Algorithm Hash digest
SHA256 c72a51b17713ad700c3c5e4f6e45239ce116138f739c3727c5c709d592cf595f
MD5 618d9301f5c73738fbca0f78b3368a52
BLAKE2b-256 c819e34f60e74d308dd6358926fe0e81f13601daab6f6bb797390385ddd98b01

See more details on using hashes here.

File details

Details for the file redis_tryton-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for redis_tryton-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 00c150df9269c0bb91cf3af47b0050e6affd20bf46b3e88797d6cd758b4ad169
MD5 ca80c6007f5a0b1de9a3aff9e4e36b0c
BLAKE2b-256 b137093a6c54f34dd50db554c25102d0ff3c8aee1f75aa7729cac6792f612982

See more details on using hashes here.

File details

Details for the file redis_tryton-0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for redis_tryton-0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 1575d87ccad373a0989706e451d6dd17355242ee425b6e96f7aa543f20e4ec64
MD5 a19652cb766b639613d88be8757ae545
BLAKE2b-256 3c79609397b436602f4ea296d69e1348deac6645403dfad406018274003ad6e6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page