persist-queue
A thread-safe disk based persistent queue in Python.
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Maintenance status is aging—last release was 293 days ago, though the repository remains active with a recent commit on 2026-01-08 and 390 stars.
License · maintenance · safety
BSD (permissive) — Licensed under BSD (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
last release 2025-10-25 (293 days) · last repo commit 2026-01-08 · 390 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 125,846 downloads/mo, #11,797 on PyPI
Alternatives
Verify before relying
pip install persist-queue
from persistqueue import Queue
q = Queue("my_queue_path")
q.put("item1")
item = q.get()
q.task_done()- Whether pickle-based serialization is suitable for your object types without custom extension code
- Performance characteristics under high-throughput or large-scale concurrent access patterns
- Compatibility guarantees with greenlet/eventlet environments mentioned in the description
What it is and 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.
The 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.
Use it for
- 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
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
persist-queue on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance status is aging—last release was 293 days ago, though the repository remains active with a recent commit on 2026-01-08 and 390 stars.
License in practice
Licensed under BSD (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install persist-queue
from persistqueue import Queue
q = Queue("my_queue_path")
q.put("item1")
item = q.get()
q.task_done()
Verify before relying
- Whether pickle-based serialization is suitable for your object types without custom extension code
- Performance characteristics under high-throughput or large-scale concurrent access patterns
- Compatibility guarantees with greenlet/eventlet environments mentioned in the description
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 293 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 125,846 / month, #11,797 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: ImplementationTopic :: Software Development :: Libraries |
Evidence: persist_queue-1.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “persistent queue python”
- persist-queueProvides thread-safe, disk-based queue implementations using file…
- queuelibQueuelib provides in-memory and disk-persisted queue, stack, priority…
- potteryPottery provides Python dict, set, list, deque, queue, and counter…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also queuelib · sqlitedict · circular-dict · pondpond · seba-sqlite · HeapDict · janus · aiosqlite · fcache · arq