{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/9"}],"enrichment":{"capability":"Provides thread-safe, disk-based queue implementations using file storage or SQLite that persist across process restarts and support multiple serialization formats.","skillfed_tags":["persistent-storage","thread-safe","async-support"],"use_cases":["Build a task queue that survives application crashes, recovering pending jobs after restart","Implement a thread-safe work queue for multi-threaded producer-consumer patterns without external services","Create a priority-based job scheduler that persists work items to disk for reliable processing","Store unique items in a queue to prevent duplicate processing across restarts","Use async queues in event-driven applications requiring persistent, crash-resistant message buffering"],"what_it_does":"persist-queue implements file-based and SQLite-based persistent queues for Python, storing each queued item on disk so it survives process crashes and restarts. It uses pickle for object serialization by default, supporting built-in types like int, dict, and list directly, with support for custom objects via pickle extension methods. The package is thread-safe and works with multi-threaded producers and consumers.\n\nThe library offers multiple queue types: basic file-based FIFO queues, SQLite-backed variants (FIFO, FILO, priority, unique-item, and acknowledgment-based), a persistent dictionary, and MySQL-backed queues. Version 1.1.0 adds async versions of file and SQLite queues. It supports multiple serialization formats beyond pickle (msgpack, cbor, json) via optional dependencies, and is compatible with greenlet and eventlet environments.","worth_installing":"Yes, with conditions. Install if you need a lightweight, dependency-free persistent queue for single-machine or multi-threaded scenarios. The permissive BSD license and low install friction make it accessible. However, the aging maintenance status (293 days since last release) and lack of recent activity suggest evaluating whether active maintenance matters for your use case. Not suitable if you require high-availability distributed queuing or need guarantees beyond single-process crash recovery."},"id":"persist-queue","links":{"html":"https://skillfed.io/packages/persist-queue","md":"https://skillfed.io/packages/persist-queue.md","pypi":"https://pypi.org/project/persist-queue/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-25","license_spdx":null,"license_treatment":"permissive","name":"persist-queue","python_support":"unspecified","summary":"A thread-safe disk based persistent queue in Python."},"popularity":{"monthly_downloads":125846,"position":11797,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
