No description available
pip install fastpluggy-redis
pip install fastpluggy-redis==0.0.12
A powerful Redis browser and management plugin for FastPluggy applications.
This plugin provides a user-friendly interface to browse, search, and manage Redis databases and keys.
pip install fastpluggy-plugins
or
pip install fastpluggy-plugin-redis
There are several ways to add the plugin to your FastPluggy application:
/admin/plugins
in your FastPluggy applicationAdd the plugin to your FastPluggy configuration file:
# config.py
FASTPLUGGY_PLUGINS = [
# other plugins...
"redis_tools",
]
Add the plugin programmatically in your application code:
from fastapi import FastAPI
from fastpluggy import FastPluggy
app = FastAPI()
pluggy = FastPluggy(app)
# Add the Redis Tools plugin
pluggy.add_plugin("redis_tools")
For more detailed installation and configuration instructions, see the Installation Guide.
Configure Redis Tools through environment variables or directly in your FastPluggy configuration:
Setting | Description | Default |
---|---|---|
REDIS_DSN |
Redis connection string (overrides other connection settings if provided) | None |
redis_host |
Redis server hostname | localhost |
redis_port |
Redis server port | 6379 |
redis_db |
Default Redis database index | 0 |
use_ssl |
Whether to use SSL for Redis connection | False |
redis_password |
Redis server password | None |
redis_decode_responses |
Whether to decode Redis responses | False |
keys_limit |
Maximum number of keys to display | 100 |
Once installed, access the Redis browser at /redis_tools/
in your FastPluggy application. The interface allows you to:
user:*
)You can also use the Redis Tools connector in your code:
from redis_tools.redis_connector import RedisConnection
# Create a connection
redis_conn = RedisConnection()
# Test connection
if redis_conn.test_connection():
# Get all keys matching a pattern
keys = redis_conn.get_keys("user:*")
# Get details for a specific key
key_details = redis_conn.get_key_details("user:1001")
# Switch to another database
redis_conn.select_db(2)
# Delete a key
redis_conn.delete_key("temporary_key")
Run tests with pytest:
cd redis_tools
pip install -r tests/requirements.txt
pytest
This project is licensed under the MIT License - see the LICENSE file for details.
This plugin does not have a Changelog file or it could not be extracted from the package.
API documentation for this plugin is not available.
Last analysis performed: 2025-07-06 19:24:35
This plugin has a valid entry point:
redis_tools
= fastpluggy_plugin.redis_tools.plugin:RedisToolsPlugin
Issues were found during analysis, but details are not available.