{"repo":"justrach/kew","free":true,"listed":false,"github":"https://github.com/justrach/kew","clone":"git clone https://github.com/justrach/kew.git","description":"🚀 Kew - A Fast, Redis-backed Task Queue Manager for Python","language":"Python","stars":67,"topics":["async","asyncio","circuit-breaker","distrubuted-systems","priority-queue","python","python-library","queue-management","redis","task-queue"],"license":"MIT","category":"databases-storage","readme_excerpt":"Kew: Modern Async Task Queue A high-performance Redis-backed task queue built for modern async Python applications. Handles background processing with precise concurrency control, priority queues, circuit breakers, retries, and deferred execution - all running in your existing async process. Why Kew? Building async applications often means dealing with background tasks. Existing solutions like Celery require separate worker processes and complex configuration. Kew takes a different approach: - Runs in Your Process : No separate workers to manage - tasks run in your existing async process - True Async : Native async/await support - no sync/async bridges needed - Precise Control : Semaphore-based concurrency ensures exact worker limits - Simple Setup : Just Redis and a few lines of code to get started - Fast : Single-roundtrip atomic task submission via Lua scripts How It Works Kew manages task execution using a combination of Redis for persistence and asyncio for processing: Tasks flow through several states with built-in error handling: Quick Start 1. Install Kew: 2. Create a simple task processor: Key Features Concurrency Control Priority Queues Retry with Exponential Backoff (v0.2.0) Deferred Execution (v0.2.0) Lifecycle Hooks (v0.2.0) Circuit Breakers Redis-backed per-queue circuit breaker tracks consecutive failures and temporarily opens the circuit to protect downstreams. Auto-resets via key expiry. Backpressure Batch Submit (v0.2.1) Submit thousands of tasks in a single","default_branch":null,"files":null,"tree":[],"storefront":"/r/justrach","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/justrach/kew/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}