Skip to main content

Plugin for dbreak to handle Redis connections

Project description


A plugin for dbreak that allows it to work with Redis objects.


Install from PyPi using pip:

pip install dbreak-redis


There's no need to import the plugin separately, just pass a Redis object to dbreak.show_console().

import redis
import dbreak

# Set up a localhost Redis connection
# This assumes you've got a Redis database running
connection = redis.Redis()

# Pause execution and enter the console

You can use most valid Redis commands:

db[0]> set mykey myvalue


db[0]> get mykey


Use single or double quotes if you need to set a value with whitespace:

db[0]> set mykey "This is my value"


db[0]> get mykey

b'This is my value'

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

dbreak-redis-0.0.1.tar.gz (2.2 kB view hashes)

Uploaded source

Built Distribution

dbreak_redis-0.0.1-py3-none-any.whl (2.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page