Unfazed Redis
Unfazed-Redis borned to solve namespace issues in Redis.
Installation
pip install unfazed-redis
Quick Start
Add settings to your project
# settings.py
UNFAZED_SETTINGS = {
"CACHE": {
"default": {
"BACKEND": "unfazed_redis.backends.namespaceclient.NamespaceClient",
"LOCATION": "redis://localhost:6379",
"OPTIONS": {
"PREFIX": "my_prefix",
"VERSION": "1",
}
}
}
}
Use in your project
# services.py
from unfazed.cache import caches
async def my_service():
cache = caches["default"]
await cache.set("my_key", "my_value")
value = await cache.get("my_key")
print(value)
Metadata
Release files for unfazed-redis 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unfazed_redis-0.0.2.tar.gz | 48.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unfazed_redis-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.0 kB
Release files / unfazed_redis-0.0.2.tar.gz
| Download URL | unfazed_redis-0.0.2.tar.gz |
|---|---|
| Size | 48.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cce53f5b666012e09115b792efba52c85bcc1185aae1cd471791b976afa21c08
|
|
BLAKE2b-256 checksum How to use checksums |
c4a7ef678351b4046ae8ae79f7502bec9b7e3d5bf6b10a533520203af3b364cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.21
|
Release files / unfazed_redis-0.0.2-py3-none-any.whl
| Download URL | unfazed_redis-0.0.2-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edc397f6ecdb63b94a7e4cf3892dce8d9046a30982f166b40a4a8acb4e140d41
|
|
BLAKE2b-256 checksum How to use checksums |
2ad799916e0a7f54323e59816d31d4af811c57dbd49de86ea56eb96450d2d79b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.21
|