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.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for direct_redis-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ba9eb8321d832859e86ad53fcb0749101a80815f6546c3ddfd6ed7b309524b8 |
|
MD5 | 3ba7dd83a725221f090224b2f1f69074 |
|
BLAKE2b-256 | 4c97ce4666134ba58f9489ca6383452f0d0b566aa154038e142e66c876909040 |