Serialize any python datatypes and does redis actions using redis-py
Project description
direct-redis
- Serialize any python datatypes and executes redis commands using redis-py
- When loading, it auutomatically converts serialized data into original data types
Install
pip install direct-redis
Supporting Data Types
- Native
- string
- number(int, float)
- dictionary
- list
- tuple
- etc
- Non-native
- pandas
- numpy
Supporting Redis Commands
- SET
- HSET
- HMSET
- GET
- HGET
- HMGET
- HGETALL
Usage
Instantiate
from direct_redis import DirectRedis
r = DirectRedis(host='localhost', port=6379)
Example
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
direct_redis-0.1.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for direct_redis-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79118c01ae6ded1b889a8f4d7f186d90a480684d7c2468e6ee2483fe9fec5766 |
|
MD5 | 43e2a3b028fff53068fa42250bca549c |
|
BLAKE2b-256 | 86292fef3d2b10087990f0f400e4881fe5153a81b105e99b0691017cd2ba7dda |