{"repo":"LaunchPlatform/bq","free":true,"listed":false,"github":"https://github.com/LaunchPlatform/bq","clone":"git clone https://github.com/LaunchPlatform/bq.git","description":"BeanQueue, a lightweight Python task queue framework based on SQLAlchemy, PostgreSQL SKIP LOCKED queries and NOTIFY / LISTEN statements.","language":"Python","stars":28,"topics":["postgresql","python","queue","sqlalchemy","worker","task-queue"],"license":"MIT","category":"databases-storage","readme_excerpt":"BeanQueue BeanQueue, a lightweight Python task queue framework based on SQLAlchemy, PostgreSQL SKIP LOCKED queries and NOTIFY / LISTEN statements. Notice : Still in its early stage, we built this for BeanHub's internal usage. May change rapidly. Use at your own risk for now. Features - Super lightweight : Under 1K lines - Easy-to-deploy : Only relies on PostgreSQL - Transactional : Commit your tasks with other database entries altogether without worrying about data inconsistencies - Easy-to-use : Built-in command line tools for processing tasks and helpers for generating task models - Auto-notify : Automatic generation of NOTIFY statements for new or updated tasks, ensuring fast task processing - Retry : Built-in and customizable retry policies - Schedule : Schedule tasks to run later - Worker heartbeat and auto-reschedule : Each worker keeps updating heartbeat, if one is found dead, the others will reschedule the tasks - Custom health checks : Optional HTTP /healthz endpoint with pluggable checks via Blinker signals - Customizable : Custom Task, Worker and Event models. Use it as a library and build your own work queue Install To enable the optional metrics HTTP server (currently /healthz only), install with the metrics extra: Upgrading to 2.0 BeanQueue 2.0 includes breaking changes around the metrics HTTP server and custom health checks: - METRICS HTTP SERVER ENABLED defaults to False (it was True in 1.x). Set BQ METRICS HTTP SERVER ENABLED=true to turn the server back on. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/LaunchPlatform","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LaunchPlatform/bq/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."}