Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

sql cache decorator

Project Description
##support Mongodb,Mysql,Hbase,ES .... ,And there Sql'result to redis cache .

## 安装方法

pip install sqltocache

## 使用方法

```
from sqltocache import cache_it_msgpack

@cache_it_msgpack(cache=self.c)
def add_it(a, b=10, c=5):
return a + b + c
add_it(3)
```
ToFix:

1. 现在用的还是json和pickle组合模式,msgpack还存在少许bug


ToDo:

1. 尽量多的兼容二次的序列化

2. 缓存的web api
Release History

Release History

This version
History Node

3.0

History Node

2.0

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sqltocache-3.0.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Aug 31, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting