{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/5"}],"enrichment":{"capability":"Provides a lightweight wrapper around redis-py that simplifies initialization and connection management, exposing the underlying Redis client through a shared singleton instance.","skillfed_tags":["redis-client","connection-pooling","kubernetes-ready"],"use_cases":["Initialize Redis once at application startup and access it globally without passing connection objects through function arguments.","Deploy to Kubernetes with Redis credentials injected via secrets, using REDISCLI_URL and REDISCLI_AUTH environment variables.","Switch between standard Redis, Redis Sentinel, and Unix socket connections by changing only the initialization URL, not application code.","Simplify testing by re-initializing redis_cli with a test Redis instance without modifying the rest of your codebase."],"what_it_does":"redis-cli is a thin initialization layer over redis-py that centralizes connection setup and exposes a shared Redis instance via a singleton getter. Instead of managing connection pooling and initialization logic in your application, you call init_from_url() or init_from_redis() once at startup, then retrieve the same client instance everywhere with get_redis(). It supports standard Redis URLs, Sentinel URLs with master/slave routing, Unix sockets, and environment variable overrides\u2014useful for Kubernetes deployments where credentials come from secrets.\n\nThe package does not wrap or modify redis-py's API; the object returned by get_redis() is the unmodified Redis class from redis-py itself, so all redis-py features and methods work directly. This design aims for forward compatibility across redis-py versions. The main value is reducing boilerplate for connection initialization and providing a clean way to inject Redis configuration from environment variables in containerized environments.","worth_installing":"Yes, if you are starting a new project and want to reduce Redis initialization boilerplate. No, if you need active maintenance or forward compatibility guarantees\u2014the package is dormant since October 2023 and may not work with future redis-py releases. Consider it for small, self-contained applications where you control the redis-py version; avoid it for production systems requiring long-term support."},"id":"redis-cli","links":{"html":"https://skillfed.io/packages/redis-cli","md":"https://skillfed.io/packages/redis-cli.md","pypi":"https://pypi.org/project/redis-cli/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-10-02","license_spdx":null,"license_treatment":"permissive","name":"redis-cli","python_support":"supports_current","summary":"A Redis Python Client"},"popularity":{"monthly_downloads":91289,"position":13528,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.1"}
