Skip to main content

mmapq

License: BSD-3-Clause

Python bindings for mmapq — a persistent, indexed, replayable inter-process queue backed by memory-mapped files. No broker, no daemon; the queue is just files.

Why Python for a sub-microsecond queue?

Not for the hot path — for the read side. The pattern mmapq is built for fast producers (C or Rust: market data, sequenced commands, sensor and telemetry streams) on one side of a persistent, indexed log, and lets any number of consumers read that log independently. Python is the natural language for the consumer: replay, analysis, notebooks, dashboards, projections into pandas — over the exact same queue files the fast producers write, with no serialization bridge, no message broker, and no copy out of shared memory beyond the one bytes() you ask for.

Because the queue is indexed and replayable, the Python side gets the capability the whole architecture exists for: replay is the product. Copy a queue directory from production to a laptop and re-read it from index zero — the same operation that drives recovery and replication is also how you debug, backtest, and audit. "What did command K do" is a single indexed read from a Python script. doc/guide/event-sourcing.md in the mmapq repository describes the full pattern; doc/reference/feature-matrix.md gives exact coverage across C, Rust, and Python.

Quick start

Use a directory on a persistent filesystem. The examples create ./data; /dev/shm is volatile memory and /tmp may be cleared on reboot. Both are useful for disposable tests and benchmarks, not retained queue history.

Commit publishes messages to readers; it does not flush them to stable storage. mmapq relies on OS writeback and does not guarantee durability through power loss. Consumer positions are application state: save the last processed index and seek explicitly when resuming. Export files also need an appropriate storage and backup policy.

Single-message queue

from pathlib import Path
from mmapq import IndexedQueue, NextMove

Path("./data").mkdir(exist_ok=True)  # the base directory must exist

def handler(index, appender_id, data):
    print(f"[{index}] {data!r}")
    return NextMove.ADVANCE

with IndexedQueue.create("./data", "my_queue") as queue:
    with queue.create_appender() as appender:
        index = appender.append(b"hello world")
    with queue.create_poller() as poller:
        poller.move_to_index(index)
        poller.poll(handler)

Batch queue (atomic multi-message commit)

from pathlib import Path
from mmapq import IndexedBatchQueue

Path("./data").mkdir(exist_ok=True)  # the base directory must exist
with IndexedBatchQueue.create("./data", "events") as queue:
    with queue.create_appender() as appender:
        with appender.start_batch() as batch:
            batch.append(b"event 1")
            batch.append(b"event 2")
            batch.append(b"event 3")
            index = batch.commit()
    with queue.create_reader() as reader:
        assert reader.read(index) == [b"event 1", b"event 2", b"event 3"]

Exiting a batch block without commit() discards that batch, including when an exception leaves the block before commit. An exception after a successful commit does not undo published messages. Use one active batch per appender; the writer cannot be reused after commit, rollback, or appender close.

Reading and replay (random access)

Reopen the batch queue written above, using the matching batch reader and export function:

from mmapq import IndexedBatchReader, export_batch_queue

with IndexedBatchReader.create("./data", "events") as reader:
    first = reader.read_first()
    last = reader.read_last()
    assert last == [b"event 1", b"event 2", b"event 3"]
    print(reader.last_index())

export_batch_queue("./data", "events", "./data/events.mmapq")

A read returns None only when the index is not yet written. An index below the queue's start index (archived) raises ArchivedError, a LookupError carrying .index:

from mmapq import ArchivedError, IndexedBatchReader

with IndexedBatchReader.create("./data", "events") as reader:
    assert reader.read(reader.last_index() + 1) is None  # not yet written
    try:
        reader.read(0)
    except ArchivedError as err:  # only once start_index has passed 0
        print("archived:", err.index)

For single-message queues use IndexedReader and export_queue instead.

Recovery — uncommitted messages and batches

After a restart, messages appended but never committed (and batches staged or discarded before a crash) are recoverable by the rejoining lane owner. The iterators snapshot at call time; do not append while iterating. Commit found offsets with commit() / commit_batch() — any subset, any order; skipping is fine. Archiving may remove messages the walk has not yielded, and discarded batches reappear in recovery — recovery code decides.

After a crash, recover through the same lane. A writer that owns a fixed lane ID rejoins it with create_appender_with_id(id); create_appender() takes a free lane, and its walk finds nothing of the crashed writer's. A writer killed without closing leaves its ID taken (AppenderIdConflictError) until an operator who has established that the owner is dead releases it with the mmapq-ids tool from the mmapq repository (from its root: make mmapq-ids, then tools/mmapq-ids/build/release/mmapq-ids <dir> <queue> --unset <id> — the tool is not installed on your PATH); doc/guide/05-crash-and-restart.md there gives the procedure. A writer that closed cleanly released its ID.

After a crash the queue keeps every record's framing, not its body: a record being written when the crash happened keeps its full length, but its data may be partly written, and the library cannot tell it from a complete record. Validate each uncommitted record with your own check (a sequence number or checksum in the payload) before committing it. A record that is not committed is never removed, so it reappears in every later walk. The queue only provides the walk: a rejoin never commits anything, and what to commit, skip or append again is your code's decision. On a batch lane, join_completed_open_batch() reports — once — the batch the rejoin completed to staged (not committed) after a crash; it reappears in later walks unreported. The contract is in doc/guide/05-crash-and-restart.md and an example of a strictly ordered writer's restart at the end of doc/guide/04-resequenced-commits.md, both in the mmapq repository.

from mmapq import IndexedQueue


def is_valid(data):
    # The application's own integrity check — for example a checksum or a
    # sequence number carried in the payload; the library has none.
    return len(data) > 0  # replace with your check


with IndexedQueue.create("./data", "my_queue") as queue:
    with queue.create_appender_with_id(0) as appender:  # this writer's fixed lane
        for offset, data in appender.uncommitted():
            print(f"recovered {len(data)} bytes at {offset}")
            # After a crash a record's data may be partly written, and an
            # uncommitted record reappears in every later walk: commit only
            # what your own check accepts.
            if is_valid(data):
                appender.commit(offset)  # publish; skipping is also valid

# Batch lanes: appender.uncommitted_batches() yields (offset, messages);
# appender.commit_batch(offset) publishes; appender.join_completed_open_batch()
# reports a crash-interrupted batch the rejoin completed to staged.
# BatchWriter.complete_uncommitted() stages without publishing.

A note on validation and safety

The Python extension compiles the C library with -DNDEBUG, so it runs the release build with internal asserts stripped. Input validation therefore happens in the Python layer and is mandatory, not defensive decoration: empty appends, out-of-range indices, and closed-handle use are checked before the FFI call and raise ValueError / QueueClosedError. Corruption detected on open or during a poll raises QueueCorruptError (distinct from a transient timeout) rather than returning silently. Every wrapper object supports explicit close(), is a context manager, and is finalized safely at interpreter shutdown.

The raw cffi FFI/lib objects are deliberately not exported as mmapq.ffi / mmapq.lib. Every C symbol reachable through them has no argument checking — one bad call segfaults the interpreter. If you need low-level access (e.g. iterator access), reach the raw objects only through the documented escape hatches, and only when you know what you are doing:

from mmapq import unsafe_ffi, unsafe_lib
ffi = unsafe_ffi()   # cffi FFI object
lib = unsafe_lib()   # loaded C library

Error messages

Exception messages are the single source of truth in the C library (src/mmapq_strerror.c): the Python layer maps return codes to exception types only (e.g. QueueCorruptError), and the message text comes from mmapq_strerror via cffi. This guarantees the text in Python matches C by construction and never drifts independently.

Return code Exception type
MMAPQ_ETIMEDOUT (-1) MmapqError
MMAPQ_EINVAL (-2) ValueError (NotArchivableError, a ValueError, from archive_up_to_index on a queue that is not archivable)
MMAPQ_ECLOSED (-3) QueueClosedError
MMAPQ_ECORRUPT (-4) QueueCorruptError
MMAPQ_ESCHEMA (-5) SchemaMismatchError
MMAPQ_EEXIST (-6) QueueExistsError
MMAPQ_ENOENT (-7) QueueFileNotFoundError (also a FileNotFoundError)
MMAPQ_EIDCONFLICT (-8) AppenderIdConflictError
MMAPQ_ENOMEM (-9) MmapOutOfMemoryError
MMAPQ_EIO (-10) MmapqError (permission, path or filesystem problem — fix the cause)
MMAPQ_ENOTREADY (-11) QueueNotReadyError

archive_up_to_index raises an ArchiveOpenError subclass when it cannot open the queue (for example before the queue is created). Each is also the class in the table above and a ValueError (the call raised ValueError for these cases before 0.2.1): ArchiveOpenFailedError (-1, -10), ArchiveOpenOutOfMemoryError (-9), ArchiveOpenCorruptError (-4), ArchiveOpenSchemaMismatchError (-5), ArchiveOpenNotFoundError (-7), ArchiveOpenNotReadyError (-11).

Installation

pip install mmapq

On systems that mark the system Python as externally managed (PEP 668 — for example Ubuntu 24.04), install into a virtual environment: python3 -m venv .venv && . .venv/bin/activate.

From source

git clone --recurse-submodules https://github.com/algoteq-labs/mmapq-py
cd mmapq-py
pip install -e .        # builds the cffi extension against the C sources

pip install mmapq installs a prebuilt wheel on Linux x86-64 and ARM64 with CPython 3.10–3.15 and glibc 2.28 or newer (for example Ubuntu 20.04, Debian 10, RHEL 8 and later); no compiler is needed. Elsewhere — an older glibc, musl (Alpine), another Python version — pip builds the source package instead, and so does pip install -e .. A source build needs a C compiler. pip uses the compiler your Python was built with; if the build fails because that compiler is not installed — for example error: [Errno 2] No such file or directory: 'clang' — name one that is: CC=gcc pip install mmapq (or CC=gcc pip install -e .).

API

Exports

from mmapq import (
    # Shared types
    NextMove,               # Handler return: ADVANCE, STOP, RETREAT
    PollResult,             # Poll result: END_OF_STREAM, ADVANCED, etc.
    BatchPollResult,        # Alias for PollResult
    BatchEntryStatus,       # Batch availability
    EntryStatus,            # Entry availability (reader)
    ConflictBehavior,       # Transfer ID-conflict policy (AUTO/ABORT)

    # Single-message queue
    IndexedQueue,           # Queue factory
    IndexedAppender,        # Producer
    IndexedPoller,          # Sequential consumer

    # Batch queue
    IndexedBatchQueue,      # Queue factory
    IndexedBatchPoller,     # Sequential batch consumer
    IndexedBatchAppender,   # Batch producer
    BatchWriter,            # In-progress batch (context manager)

    # Random-access readers
    IndexedReader,          # Single-message reader
    IndexedBatchReader,     # Batch reader

    # Exceptions
    MmapqError,             # Base exception
    QueueClosedError,       # Closed handle
    QueueCorruptError,      # On-disk corruption
    SchemaMismatchError,    # Schema/type mismatch
    QueueExistsError,       # Destination already exists
    QueueFileNotFoundError, # Queue file/directory missing (also FileNotFoundError)
    NotArchivableError,     # Archiving a queue that is not archivable (also ValueError)
    ArchiveOpenError,       # archive_up_to_index could not open the queue (also ValueError)
    ArchiveOpenFailedError, ArchiveOpenOutOfMemoryError, ArchiveOpenCorruptError,
    ArchiveOpenSchemaMismatchError, ArchiveOpenNotFoundError, ArchiveOpenNotReadyError,
    AppenderIdConflictError,# Appender ID conflict
    MmapOutOfMemoryError,   # Allocation failure
    QueueNotReadyError,     # Metadata not written yet (transient; retry)
    ArchivedError,          # Index below the queue's start index (.index)

    # Runtime
    Runtime,                # Async region mapper

    # Archiver
    IndexedArchiver,        # Start-index management (single-message)
    IndexedBatchArchiver,   # Start-index management (batch)

    # Transfer (export/import/copy)
    APPENDER_ID_AUTO,       # mapper() sentinel: auto-assign the appender ID
    export_queue,           # Export queue to flat stream
    export_batch_queue,     # Export batch queue to flat stream
    import_queue,           # Import flat stream to queue
    import_batch_stream,    # Import batch stream to flat queue
    import_batch_queue,     # Import batch stream to batch queue
    import_flat_to_batch,   # Import flat stream to batch queue
    copy_queue,             # Copy queue to new directory
    copy_batch_queue,       # Copy batch queue to new directory
    copy_normal_to_batch,   # Copy flat queue as batch queue
    copy_batch_to_normal,   # Copy batch queue as flat queue

    # Low-level
    check_rc,               # Raise the mapped exception for a C return code
    unsafe_ffi,             # Raw cffi FFI object (no argument checking)
    unsafe_lib,             # Raw loaded C library (no argument checking)
)

Single-message handler callback

The handler passed to poller.poll() receives (index: int, appender_id: int, data: bytes):

def handler(index, appender_id, data):
    print(f"[{index}] {data}")
    return NextMove.ADVANCE

Batch handler callback

The handler passed to poller.poll() receives (batch_index: int, messages: list[bytes]):

def handler(batch_index, messages):
    # messages is a list of payload bytes, one per message in the batch
    for msg in messages:
        print(f"[{batch_index}] {msg}")
    return NextMove.ADVANCE

Additional appender methods

IndexedAppender (single-message) also provides:

  • append_uncommitted(data) — writes payload without committing. Invisible to readers until committed; after a crash only the lane's owner can recover it (see Recovery). Returns a payload offset for later use with commit().
  • commit(payload_offset) — publishes a previously uncommitted payload. Returns the committed index.

IndexedQueue (single-message) also provides:

  • create_appender_with_id(appender_id) — creates an appender with a specific lane ID (0–255). Raises ValueError if the ID is out of range, AppenderIdConflictError if the ID is taken.
  • create(directory, queue_name, write_runtime=None, read_runtime=None, archivable=False, *, region_size=..., ring_size=..., max_file_size=..., start_index=..., timeout_ns=..., runtime=...) — full-configuration create; defaults match the C library's INDEXED_QUEUE_DEFAULT_* constants.

IndexedBatchQueue (batch) also provides:

  • create_appender_with_id(appender_id) — creates a batch appender with a specific lane ID (0–255). Raises ValueError if the ID is out of range.
  • create(directory, queue_name, *, region_size=..., ring_size=..., max_file_size=..., start_index=..., timeout_ns=..., archivable=..., runtime=...) — full-configuration create. All params match the C library's INDEXED_QUEUE_DEFAULT_* constants.

For both queue types, create writes nothing: the queue's files are written when its first appender is created, with the settings of the queue handle it came from. archivable, region_size, max_file_size and start_index are stored then; every later open uses the stored values and ignores its own. ring_size and timeout_ns apply to each handle. Create the queue and its first appender in one place with the intended settings.

IndexedBatchAppender (batch) also provides:

  • id() — returns this appender's lane ID (0–255).

Sync vs async mapping

By default mapping happens synchronously on the hot path. For async background region mapping, pass a Runtime:

from mmapq import Runtime, IndexedQueue

rt = Runtime.region_mapper()
q = IndexedQueue.create("./data", "rt_queue", runtime=rt)

# Runtime is kept alive by the queue — safe to drop the local reference
del rt

Archiving

An archivable queue (archivable=True) can advance its start index so old entries become inaccessible and their backing files can be safely deleted. The setting takes effect only if this handle creates the queue's first appender (see create above); an archiving process can check arch.archivable() first. It raises a retryable FileNotFoundError, QueueNotReadyError or MmapqError until the queue's first appender has written its files — retry on the same archiver:

Files are reclaimed whole, so freed space comes in max_file_size steps: with the default 1 GiB files a lane frees nothing until it has written more than 1 GiB. The example sizes them small so that reclaiming is visible:

from mmapq import IndexedArchiver, IndexedQueue

q = IndexedQueue.create("./data", "arch_q", archivable=True,
                        region_size=64 * 1024, max_file_size=1024 * 1024)
# ... produce messages ...

arch = IndexedArchiver.create("./data", "arch_q")
arch.archive_up_to_index(1000)          # archive entries < 1000
files = arch.archivable_files()         # files no live entry can need
deleted = arch.reclaim_files(files)   # safe even against a concurrent undo

The rest of the contract is in chapter 6 of the mmapq repository's guide (doc/guide/06-archiving-and-reclamation.md): a snapshot is identified by the next index to apply; archive only after the snapshot is durable; on start and on PollResult.ARCHIVED — which holds the cursor — read start_index() as S, move_to_index(S) (retry from reading start_index() if it returns False), then load snapshot S. Size max_file_size to the retention you want. Chapter 6 also has the snapshotter and consumer loop written out in Python.

Transfer (export/import/copy)

For a replica on the same host, copy (copy_queue, copy_batch_queue; preserve=True keeps the source's index space, so a reader of the copy sees the same indices; appender IDs are copied unchanged unless you pass a mapper). For a portable file to store or move, export and import.

The library provides 10 transfer functions across single-message and batch queues:

from mmapq import (
    export_queue, export_batch_queue,
    import_queue, import_batch_stream, import_batch_queue,
    import_flat_to_batch,
    copy_queue, copy_batch_queue,
    copy_normal_to_batch, copy_batch_to_normal,
)

# Export a queue to a portable flat file (single-message)
n = export_queue("./data", "src", "./data/export.bin")

# Import flat file into a new queue (allow_append=True appends to existing)
n = import_queue("./data/export.bin", "./data", "restored")
n = import_queue("./data/export.bin", "./data", "restored", allow_append=True)

# Copy queue files directly (avoids intermediate export file)
n = copy_queue("./data", "src", "./data", "copy")

# Preserve index space (start_index, appender IDs)
n = export_queue("./data", "src", "./data/preserve.bin", preserve=True)
n = import_queue("./data/preserve.bin", "./data", "preserved", preserve=True)

# Batch queue transfers
n = export_batch_queue("./data", "batch_src", "./data/batch_export.bin")
n = import_batch_queue("./data/batch_export.bin", "./data", "batch_dst")
n = import_batch_stream("./data/batch_export.bin", "./data", "flat_stream")

# Cross-type conversions (flat to batch, batch to flat)
n = import_flat_to_batch("./data/export.bin", "./data", "batch_queue")
n = copy_normal_to_batch("./data", "flat_src", "./data", "batch_dst")
n = copy_batch_to_normal("./data", "batch_src", "./data", "flat_dst")

# All copy/import functions accept:
#   allow_append=True    — append to existing queue instead of refusing
#   preserve=True        — keep original index space from source
#   mapper=callable      — map source appender IDs to destination IDs
#   on_conflict=<enum>   — ConflictBehavior.AUTO or .ABORT

Examples

Batch echo server

rm -rf /tmp/request /tmp/response
python3 examples/batch_echo_server.py /tmp request response &
python3 examples/batch_latency_bench.py 100000 10000 64 --external

Internal benchmark (single process)

rm -rf /tmp/request /tmp/response
python3 examples/batch_latency_bench.py 100000 10000 64

Performance

The Python layer adds roughly 1–2 µs per poll() call through the cffi callback trampoline (C → Python → C dispatch); the C library itself delivers ~300 ns median round-trip, so the interpreter dominates the hot path. Expected throughput on isolated cores is 100,000–200,000 ops/sec against ~2.8M for C. This is by design and not the point: Python is the consumer and analysis language here, not the low-latency producer.

Reach for the Python bindings when you want:

  • A Python consumer, projection, or analysis process reading a log that C or Rust producers write — the replay/notebook/dashboard side of an event-sourced pipeline.
  • Cross-process compatibility with existing C or Rust deployments sharing a queue (Java interop is not supported in 0.2.0 — Java-written queues are refused at open; planned at schema 2).
  • Replay, export, and offline forensics over recorded queues.
  • Prototyping and testing with the real wire format.

For low-latency production on the hot path, produce from the C or Rust bindings; let Python read.

Compatibility

The wire format is identical to the C library and the Rust bindings, and derives from Algoteq's Java implementation (tools4j-derived; not compatible with upstream tools4j — the formats have diverged). Sharing queues with Java is not supported in 0.2.0: Java-written queues are refused at open (schema_version 1), both queue types; planned at schema 2, under the same protocol contract (see the C library's doc/reference/wire-format.md).

Stability

The wire format is frozen within a schema version. 0.2.0 writes schema_version=2 and refuses 0.1.0 files (schema_version=1) at open (Python: SchemaMismatchError): 0.2.0 changed what 0.1.0 files mean and accept (the archive-line field, the geometry rule, the unified tail rule). To move 0.1.0 data forward, export with a 0.1.0 library and import into a fresh 0.2.0 queue — the export stream format is unchanged. Each release states the schema versions it reads; a file of any other version is refused at open. A version change is always a clean refusal, never a silent misread. The feature set is frozen and the API grows only for capability already present in the C core. The Python bindings expose the producer/consumer and replay surface; some low-level batch construction primitives remain C/Rust only (see doc/reference/feature-matrix.md).

Testing

python3 -m unittest discover tests

Acknowledgements

mmapq-py wraps Algoteq's mmapq, originally derived from the tools4j/mmap Java library. The event-sourcing architecture follows tools4j/event-sourcing and elara.

License

BSD 3-Clause — see LICENSE.

Platform

Linux only (x86-64 and ARM64, both tested in CI). Requires naturally aligned lock-free atomics over MAP_SHARED mmap.

Upcoming hardening compatibility changes

Transfer mapper exceptions now stop the transfer and re-raise the original exception after C cleanup, rather than silently assigning another appender ID. Transfers are not atomic: an already committed prefix may remain after failure. Package versions are unchanged pending release.

IndexedReader.read_view() returns a read-only, zero-copy memoryview that keeps the reader alive. Reads, index queries, and close() raise BufferError while any exported view or alias remains. Release every view with release() or a memoryview context manager before advancing or closing the reader:

with reader.read_view(0) as view:  # when entry 0 exists
    payload = bytes(view)        # optional owned copy
reader.close()                  # succeeds after all views/aliases release

Releasing the original view does not release surviving slices, casts, or buffer consumers. A failed close() leaves the reader open, including on reader context manager exit. If the block is already propagating an exception, the reader's context manager suppresses only the cleanup BufferError, preserving that original exception. The reader remains open with its finalizer armed; release all views and close explicitly, or allow garbage collection once all references (including retained tracebacks) are gone. Normal context exit still raises BufferError for an outstanding borrow.

For nested reader/view contexts, release buffer consumers before leaving the view context. For example, a retained numpy.frombuffer(view) array can prevent view.release() from succeeding. Python's memoryview context exit may then raise BufferError and mask a processing exception; the reader cannot suppress that inner cleanup failure. Surviving view aliases also keep the reader borrowed.

Ordinary read() continues to return owned bytes. Raw FFI access and external modification/truncation of committed files remain caller obligations.

Commit publishes data, but does not guarantee power-loss durability. See the C persistence contract for restart, checkpoint, filesystem, and archival limitations.

Metadata

Release files for mmapq 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mmapq 0.2.1
File Size Uploaded Provenance Actions
mmapq-0.2.1.tar.gz 317.8 kB With provenance Details for mmapq-0.2.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mmapq 0.2.1
File Actions
mmapq-0.2.1-cp315-cp315-manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ x86-64 Details for mmapq-0.2.1-cp315-cp315-manylinux_2_28_x86_64.whl
mmapq-0.2.1-cp315-cp315-manylinux_2_28_aarch64.whl CPython 3.15 CPython 3.15 Linux glibc 2.28+ ARM64 Details for mmapq-0.2.1-cp315-cp315-manylinux_2_28_aarch64.whl
mmapq-0.2.1-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for mmapq-0.2.1-cp314-cp314-manylinux_2_28_x86_64.whl
mmapq-0.2.1-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for mmapq-0.2.1-cp314-cp314-manylinux_2_28_aarch64.whl
mmapq-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for mmapq-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl
mmapq-0.2.1-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for mmapq-0.2.1-cp313-cp313-manylinux_2_28_aarch64.whl
mmapq-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for mmapq-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl
mmapq-0.2.1-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for mmapq-0.2.1-cp312-cp312-manylinux_2_28_aarch64.whl
mmapq-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for mmapq-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl
mmapq-0.2.1-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details for mmapq-0.2.1-cp311-cp311-manylinux_2_28_aarch64.whl
mmapq-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for mmapq-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl
mmapq-0.2.1-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details for mmapq-0.2.1-cp310-cp310-manylinux_2_28_aarch64.whl

Total release size: 6.4 MB

Release files / mmapq-0.2.1.tar.gz

Download URL mmapq-0.2.1.tar.gz
Size 317.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6260acd7882e8b883f56750aa520f26a838efbdd902306b74ce9768f76cd07e4
BLAKE2b-256 checksum
How to use checksums
cb35683952ca96e89711d6b5d32e94c926b61b18d42eab2a0733db34a71f6d96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp315-cp315-manylinux_2_28_x86_64.whl

Download URL mmapq-0.2.1-cp315-cp315-manylinux_2_28_x86_64.whl
Size 508.2 kB
Tags CPython 3.15 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8a22ac8568b08690f1fbdc1dfeddb9a0277d30a5c591e380b2c44f78814cb800
BLAKE2b-256 checksum
How to use checksums
485b6342817579bbe62b55b4c587373dbde2e4a076d5e70206704d66a7c19d4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp315-cp315-manylinux_2_28_aarch64.whl

Download URL mmapq-0.2.1-cp315-cp315-manylinux_2_28_aarch64.whl
Size 516.2 kB
Tags CPython 3.15 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
4e2fcdbaa13e14bb6e6ecf477a2eeb9b6754131224188c024be41f7a57e73189
BLAKE2b-256 checksum
How to use checksums
d99007e0a5adf3477b86fd3558d451b7db47d29488cc8dfaf074d651c57d2574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL mmapq-0.2.1-cp314-cp314-manylinux_2_28_x86_64.whl
Size 505.9 kB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3cc2567a943b27ad4862209c3956202ea480ac7a440e31b81da801aecb54e4a4
BLAKE2b-256 checksum
How to use checksums
ab9d96a2e0992d4ad2fcedb77b9c453714e9310c40727ad6e9eb2e816e6d395d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL mmapq-0.2.1-cp314-cp314-manylinux_2_28_aarch64.whl
Size 514.5 kB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
beb040c52a9c18db2dc8f77c88f2096cdab0ca76c8ef6855d4a89cc592068ead
BLAKE2b-256 checksum
How to use checksums
df0622fec1dd88b3445743e3cdc0d81f212145ff1c223ba239785d4b86978d50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL mmapq-0.2.1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 506.0 kB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8dd73f913c4f007cad6ede359de0c253e322ef84d92eba46da1527c24fafbf40
BLAKE2b-256 checksum
How to use checksums
28cd5b13347fb33185f40573316b9cebc2969df600968820e865661a09e93769
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL mmapq-0.2.1-cp313-cp313-manylinux_2_28_aarch64.whl
Size 514.6 kB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e1f1fe495cce09b0eb015e8d87a3fa166f869a2e15746bf5c80c55d56f8e4d0a
BLAKE2b-256 checksum
How to use checksums
e1d74630d356de9d4c4811890356a723c2dd2d64693b5b38803d8bbfa8317f3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL mmapq-0.2.1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 506.0 kB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
af7b67b1e65b965839e43c4c40cf7a5b53441bf8a317957631cd06da8aafb117
BLAKE2b-256 checksum
How to use checksums
170ab439e3db346ccc6867c8db91567584b89f28dcd52b23af554c5fb3f44b4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL mmapq-0.2.1-cp312-cp312-manylinux_2_28_aarch64.whl
Size 514.6 kB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
75e2e523fc81140056ffac7a500137f443be7edbeb33ea9f15176cb09463651d
BLAKE2b-256 checksum
How to use checksums
38bac119c054b18b6de9415a64f1ebea77df0e29e1e1388adc2cbf946c033961
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL mmapq-0.2.1-cp311-cp311-manylinux_2_28_x86_64.whl
Size 504.7 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c8c1721651271060d76c847c6ba0f158a5f54eac91dd31711f301e54bddffdc9
BLAKE2b-256 checksum
How to use checksums
b2c707dff398c81627c8a0efb4433d4c6ca1e826c487379c39e5b099bf2fff5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL mmapq-0.2.1-cp311-cp311-manylinux_2_28_aarch64.whl
Size 513.5 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
6990af2975f0634d69b6d0cd87a26ab12e5c2c9440a4f885c80b834c18ebbda3
BLAKE2b-256 checksum
How to use checksums
3fd1f2f18d35fab6b8825985995deebc23fe33ee7637956cb574c8805c606915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL mmapq-0.2.1-cp310-cp310-manylinux_2_28_x86_64.whl
Size 504.7 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b491d07bb2ad47cc892cb543fd493ef08c2f188efea1b20c992a8cb946702276
BLAKE2b-256 checksum
How to use checksums
4b49ff2270b111bdf47a3b58bc3895a59822782c154b66a0c745c81b1241bba2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / mmapq-0.2.1-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL mmapq-0.2.1-cp310-cp310-manylinux_2_28_aarch64.whl
Size 513.4 kB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
792bb66e20c1b8530af69930686442aa88a9b3d2f21fa3d230c8ef85247c404b
BLAKE2b-256 checksum
How to use checksums
ec5dced9105fb539502b7cec1b0c3950e27deb5c2ef9b2b066c493430892663b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for mmapq 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for mmapq-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page