$npx skillfedfor your agent

queuelib

Collection of persistent (disk-based) and non-persistent (memory-based) queues

Worth itPyPI Software DevelopmentReleased Jan 20263.1M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — queuelib-1.9.0-py3-none-any.whl
v1.9.0 · released 2026-01-29 · Python >=3.10

Yes. Queuelib is actively maintained, has no dependencies, supports current Python versions, carries no known vulnerabilities, and offers a straightforward solution for persistent and in-memory queuing. Install it if you need disk-backed queues or priority/round-robin scheduling; skip it if you require thread-safety or distributed queue semantics.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Collections are not thread-safe.
  • Low friction: pure Python, no runtime dependencies, and actively maintained with recent releases.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows use in commercial and proprietary projects with minimal restrictions.

last release 2026-01-29 (197 days) · last repo commit 2026-07-31 · 299 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,117,427 downloads/mo, #2,746 on PyPI

Verify before relying

pip install queuelib

from queuelib import FifoDiskQueue
q = FifoDiskQueue('queuefile')
q.push(b'item')
item = q.pop()
q.close()
  • Whether disk-persisted queues survive process crashes or only graceful shutdown
  • Performance characteristics at scale (queue size, throughput limits)
  • Thread-safety workarounds or recommended patterns for concurrent access
Same gist for agents: .md · .json

What it is and what it does

Queuelib is a collection library that implements standard queue data structures—FIFO queues, LIFO stacks, priority queues, and round-robin queues—with the option to store them in memory or persist them to disk. Each collection type exposes a simple push/pop API and is designed for speed. The library has no external dependencies and supports modern Python versions from 3.10 onward.

It is typically used in scenarios where you need a durable work queue that survives process restarts, or where you want to manage items with priority or fair distribution across multiple sources. The disk-based variants allow you to queue large numbers of items without keeping them all in RAM, making it useful for batch processing, task scheduling, and buffering workloads.

Use it for

  • Persist task queues to disk in web scrapers or background job systems to survive restarts
  • Implement priority-based work distribution where higher-priority tasks are processed first
  • Fair-share scheduling across multiple data sources using round-robin dequeuing
  • Buffer large datasets on disk when processing streams that exceed available memory
  • Build durable message queues for offline-first or resilient data pipelines

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Queuelib is actively maintained, has no dependencies, supports current Python versions, carries no known vulnerabilities, and offers a straightforward solution for persistent and in-memory queuing. Install it if you need disk-backed queues or priority/round-robin scheduling; skip it if you require thread-safety or distributed queue semantics.

Install

queuelib on PyPI

Before you install

Low friction: pure Python, no runtime dependencies, and actively maintained with recent releases. Supports Python 3.10 through 3.14 and PyPy.

Requires Python 3.10 or later. Collections are not thread-safe.

License in practice

BSD-3-Clause permissive license allows use in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install queuelib

from queuelib import FifoDiskQueue
q = FifoDiskQueue('queuefile')
q.push(b'item')
item = q.pop()
q.close()

Verify before relying

  • Whether disk-persisted queues survive process crashes or only graceful shutdown
  • Performance characteristics at scale (queue size, throughput limits)
  • Thread-safety workarounds or recommended patterns for concurrent access

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 197 days since the last release
Last repo commit
First released
Downloads3,117,427 / month, #2,746 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableOperating 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 :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: queuelib-1.9.0-py3-none-any.whl

Tags

Capabilities
disk-based queue implementationpersistent FIFO LIFO queuepriority queue libraryround-robin queuein-memory queue storagequeue data structurepersistent collections
Topics
data-structurespersistencetask-queue

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 › “disk-based queue implementation”

  • queuelibQueuelib provides in-memory and disk-persisted queue, stack, priority…
  • persist-queueProvides thread-safe, disk-based queue implementations using file…
  • nsj-queue-libImplements transactional queues and workers backed by a relational…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also HeapDict · persist-queue · azure-storage-queue · redis-simple-mq · cacheout · bullmq · arq · janus · roundrobin · sortedcontainers