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.3.tar.gz (16.8 kB view details)

Uploaded Source

Built Distributions

redis_tryton-0.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

redis_tryton-0.3-py2-none-any.whl (5.0 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for redis_tryton-0.3.tar.gz
Algorithm Hash digest
SHA256 9ebf376c26b3caa962010093efa8650264649a9c23c7445c964cb5e8f002fe48
MD5 2811b7ab9428dd4177942b00b523b2f6
BLAKE2b-256 63a70f940d42243638139dfc5989d28ca7f9cb53241677a24974e50f13b912d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for redis_tryton-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 668574a34680f5269535743c21a23175b364c878ac86eb58d5ab97b891742bc5
MD5 d3b189c75a04603ef1d39e783045aadd
BLAKE2b-256 8344c9ccd5b14efcd60871340bac8113dc45ea9b7376ec19cfca249bedaeb396

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for redis_tryton-0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 51fd5491612dca0a0d8c48d790feafb8902d30dc7ebb6bc226f9024daaa21068
MD5 4091a52a065ff252e95dd6bc9642cd8b
BLAKE2b-256 889dd7f38d73b990fdb8e486b28facb3f61b1c35cfe6dc8e6b7d7eff73e4e54d

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