Skip to main content

Django redis pull

Project description

Installation

$ pip install django-redis-pull

settings.py

INSTALLED_APPS+=['django_redis_pull']

REDIS_HOST = os.getenv("REDIS_HOST", "localhost")
REDIS_PORT = os.getenv("REDIS_PORT", 6379)
REDIS_DB = os.getenv("REDIS_DB", 0)

migrate

$ python manage.py migrate

Features

  • data pull from redis to database
  • logging
    • logging.debug messages
    • database log
  • admin

Models

model db_table fields/columns
PullData redis_push_data id,queue,data
PushLog redis_push_log id,queue,count,created_at
PushQueue redis_push_queue id,queue

Management commands

name description
redis_pull pull redis data to redis_pull_data (queue,data) table

Examples

$ python manage.py redis_pull

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

django_redis_pull-0.0.3.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file django_redis_pull-0.0.3.tar.gz.

File metadata

  • Download URL: django_redis_pull-0.0.3.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for django_redis_pull-0.0.3.tar.gz
Algorithm Hash digest
SHA256 39021b368534ed1b396a5842079f45b013ba81c5be342416370eff167d74cf88
MD5 406b21c981428248383ca95f0fccfb12
BLAKE2b-256 85b4de08d676645c516c96ab53311aaebd9a8dbb258318ad044eb9ea5f1a1e9f

See more details on using hashes here.

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