##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
## 安装方法
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
Metadata
Release files for sqltocache 3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sqltocache-3.0.tar.gz | 3.4 kB | Without provenance | Details |
Release files / sqltocache-3.0.tar.gz
| Download URL | sqltocache-3.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9a7c85277141d35ffed9daff6b6e3dd53d4b5e30e5e413a6dcbde562c1288b1
|
|
BLAKE2b-256 checksum How to use checksums |
5e3cef52382e37b5b7afabcfcf41d5ee85afac6d70c6e1e2f7310b0a48692f83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sqltocache 3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.