Skip to main content

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


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)

Uploaded Source

Built Distribution

direct_redis-0.1.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page