Store and retrieve data in a consistent way in a key-value store using Django Rest Framework serializers
Project description
drf-keyvalue
Store and retrieve data in a consistent way in a key-value store using Django Rest Framework serializers
About
Supported backends
- Redis
Installation
pip install drf-keyvalue
Setup
Usage
For detailed usage, see the tests
from drf_keyvalue.keyvalue import get_client
import redis
redis.StrictRedis(host='localhost', port=6379, db=0)
client = get_client('keyvalue.backends.RedisBackend', connection)
Development
Updating pypi repo:
- Bump the version:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
drf-keyvalue-0.0.1.tar.gz
(2.1 kB
view details)
File details
Details for the file drf-keyvalue-0.0.1.tar.gz.
File metadata
- Download URL: drf-keyvalue-0.0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca07b5be215932e38d652db460f1ca465a73df0999f73e55181b7508cec329c9
|
|
| MD5 |
60c6bd45c5d2d8f2988f0129fb780966
|
|
| BLAKE2b-256 |
3f353e8cb2a08b67bbfd14c58ba21bca766bff0f172ef2a0545f1b584e10f839
|