No project description provided
Project description
flask-redis-cache
poetry add flask-redis-cache
设置项
| Variable | Default Value |
|---|---|
| REDIS_HOST | 127.0.0.1 |
| REDIS_PORT | 6379 |
| REDIS_DB | 1 |
使用
初始化
from flask_redis_cache import FlaskRedisCache
cache = FlaskRedisCache()
redis client的使用方法
cache.redis.set("key", "value")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flask_redis_cache-0.1.2.tar.gz.
File metadata
- Download URL: flask_redis_cache-0.1.2.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-63-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8804e529823098b6293a38c2ff80c5381dcd6be9ac92f287bee17b59f3e8d616
|
|
| MD5 |
173e4824980d5b89afaa9a8fc40d22ce
|
|
| BLAKE2b-256 |
5f0f3da6ceea6df069c4fac9e029c589c6a1cf3be92ced27a08a61b6ccf73806
|
File details
Details for the file flask_redis_cache-0.1.2-py3-none-any.whl.
File metadata
- Download URL: flask_redis_cache-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/6.8.0-63-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
698673de81bbf3fdfdb168da4af8cc89290a495b39b972da955391329f23af1c
|
|
| MD5 |
2dc8a3517776abbbe680ea365f89ec5d
|
|
| BLAKE2b-256 |
1dcc0000584f004e90937badd2edd9f33905f6f4c00e19f0fd58eba1fdd44102
|