Skip to content

SimplePyQ v0.1.1

Choose a tag to compare

@kdewald kdewald released this 27 Mar 07:34
· 3 commits to main since this release

[0.1.1] - 2025-03-27

Initial release of simplepyq, a lightweight, pure-Python task scheduler for small projects. This library provides a minimal, dependency-light alternative to heavier task schedulers, ideal for small projects that don't merit more capable alternatives.

What can simplepyq do?

  • Queue Tasks with Channels: Organize tasks into named channels (e.g., "scrape") with dedicated functions.
  • Persist Across Restarts: Store tasks in SQLite to survive process interruptions.
  • Retry Failed Tasks: Automatically retry tasks on failure with a configurable retry count.
  • Defer Tasks Dynamically: Use DelayException to delay tasks for a specified time (e.g., for rate limiting).
  • Run in Background or Sync: Process tasks asynchronously with start() or synchronously with run_until_complete().
  • Manage Failed Tasks: Clear or requeue failed tasks with clear_failed() and requeue_failed().