--- id: burner-redis version: "0.1.7" license: MIT license_treatment: permissive maintenance: active --- # burner-redis — An embedded, in-process Redis-compatible database License: permissive · Maintenance: active · Downloads: 12.1M/mo ## What it is and what it does burner-redis is an embedded Redis-compatible database written in Rust with Python async bindings. It runs inside your Python process with no external server dependency, implementing a subset of the redis.asyncio.Redis API including strings, hashes, sets, sorted sets, streams, pub/sub, and Lua scripting. It's designed as a drop-in replacement for applications that need Redis semantics but want to avoid deploying and managing a separate Redis instance. The package supports optional persistence via MessagePack snapshots, atomic writes, and manual save operations. It includes Python-layer features like pipelines, distributed-style locks, and pub/sub listeners that mirror redis.asyncio semantics. Commands not yet implemented raise NotImplementedError, and when the redis package is installed, exceptions subclass redis.exceptions types for compatibility with existing error handling. Use it for: - Back a self-hosted Prefect server without requiring a separate Redis deployment. - Provide session or cache storage for a single-process application without external infrastructure. - Implement pub/sub messaging and Lua scripting within a Python application without a separate Redis server. - Store and retrieve streams, sorted sets, and other Redis data structures in an embedded context. - Develop and test Redis-dependent code locally without running a Redis container or service. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Runs a Redis-compatible in-process database written in Rust, providing an async Python interface as a drop-in replacement for redis.asyncio.Redis without needing an external server. Yes, with conditions: install if you need Redis semantics in a single process and can accept that the API is a subset of redis.asyncio.Redis (not the full redis-py interface). Avoid if you require commands not yet implemented or if you need production-grade stability—the package is explicitly experimental and in beta. No security vulnerabilities reported, MIT license is permissive, and install friction is moderate due to compiled wheels. ## Install pip install burner-redis uv add burner-redis poetry add burner-redis ## Installing burner-redis Before you install: Medium friction: requires Python 3.10+ and installs as a compiled wheel with pre-built binaries for Linux, macOS, and Windows. Active maintenance status with recent releases. License in practice: MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations. Quickstart: pip install burner-redis from burner_redis import BurnerRedis db = BurnerRedis() await db.set("key", "value") value = await db.get("key") Requires Python 3.10+; async context (event loop) required for all operations. Verify before relying: - Whether the subset of redis.asyncio.Redis commands implemented is sufficient for your specific use case beyond docket and Prefect. - Performance characteristics and memory overhead compared to external Redis for your workload size. - Stability guarantees given the 'Experimental' and 'Beta' status and active development phase. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 12.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags embedded redis python, in-process redis alternative, redis without server, redis-compatible database, async redis replacement, rust redis bindings, redis asyncio compatible, embedded-database, redis-compatible, async-io [View on SkillFed](https://skillfed.io/packages/burner-redis) · [View on PyPI](https://pypi.org/project/burner-redis/)