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

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for redis_tryton-0.2.tar.gz
Algorithm Hash digest
SHA256 8978b947daec04a3bd21afba8c8e050d115e5a3de30f2e5e05b50090e8338248
MD5 9309e117d33bcbdae400e47f0c2ce55f
BLAKE2b-256 7fa030dfea2cbb479b370641905a1ecafd6306d011e86b23e4ced0120a3813e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for redis_tryton-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 25f066c571bfee26944d62dcec7b185b1ed4d4610c32fc97312b0ebcc167bbb8
MD5 4be03616908861a8e830e0dfbfe1029d
BLAKE2b-256 aa89b2a59b560f8d04fef35d9ce5f2f829874708c3ae6f084c01633f7fb6c34a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for redis_tryton-0.2-py2-none-any.whl
Algorithm Hash digest
SHA256 083150ab0ac7b5e2770d3b59731e58bc6c3ae6a497bd75e903b9ba5591ad9165
MD5 df1c6c9a3f52965445d907dd319e2393
BLAKE2b-256 a6e1cc32788fc26a6e0cda2cbe1c40c2b065d0f05c3e0a70f0ceacd52367a79b

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