Skip to main content
##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

Download files

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

Source Distribution

sqltocache-3.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file sqltocache-3.0.tar.gz.

File metadata

  • Download URL: sqltocache-3.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sqltocache-3.0.tar.gz
Algorithm Hash digest
SHA256 f9a7c85277141d35ffed9daff6b6e3dd53d4b5e30e5e413a6dcbde562c1288b1
MD5 06b11f40f5dd2b16624b5c527b8cab0e
BLAKE2b-256 5e3cef52382e37b5b7afabcfcf41d5ee85afac6d70c6e1e2f7310b0a48692f83

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0 This release

1 file

2.0

1 file

1.0

1 file

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