Simplepyq

Latest version: v0.1.1

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.1

--------------------

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()`.

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.