Skip to main content

spillsort

Build Status Python Versions License: MIT Language

Sort more items than fit in memory: sorted runs spill to disk and merge as they are read.

Install with pip or uv:

pip install spillsort

Or add the Rust crate:

cargo add spillsort

Introduction

This library sorts like sorted(items, key=...), but in a fixed amount of memory. Each item is keyed and encoded into bytes once, as it is added. When the memory fills, a background thread sorts it and writes it to a temporary file while you keep adding. Sorting merges those files with what is still in memory, so items come out in key order, and items with equal keys come out in the order they were added. The engine is Rust, and it is also a Rust crate that needs no Python.

Quick Start

Give a key function and sort items, once:

from spillsort import Sorter

reads = [("chr2", 500, "read1"), ("chr1", 900, "read2"), ("chr1", 100, "read3"), ("chr1", 900, "read4")]

with Sorter(lambda read: (read[0], read[1])) as sorter:
    ordered = list(sorter.sort(reads))

assert ordered == [("chr1", 100, "read3"), ("chr1", 900, "read2"), ("chr1", 900, "read4"), ("chr2", 500, "read1")]

Add items one at a time as they arrive, bound the memory with max_bytes, sort on more threads with threads, and choose where to spill with tmp_dir:

import random
from tempfile import TemporaryDirectory

numbers = [random.random() for _ in range(100_000)]

with TemporaryDirectory() as tmp_dir, Sorter(max_bytes=2**20, threads=4, tmp_dir=tmp_dir) as sorter:
    for number in numbers:
        sorter.add(number)
    ordered = list(sorter.sort())

assert ordered == sorted(numbers)

Without tmp_dir, runs spill into tempfile.gettempdir(), and from Rust into std::env::temp_dir(), which on Unix is TMPDIR. Either way, an empty TMPDIR means /tmp, never the current directory, and a relative directory is resolved when the sorter is made.

Items are pickled while they wait unless a codec turns them into bytes and back:

class Line:
    def encode(self, item: str, /) -> bytes:
        return item.encode()

    def decode(self, data: bytes, /) -> str:
        return data.decode()

with Sorter(lambda line: int(line.split("\t")[1]), codec=Line()) as sorter:
    lines = list(sorter.sort(["chr1\t300\n", "chr1\t20\n", "chr1\t1000\n"]))

assert lines == ["chr1\t20\n", "chr1\t300\n", "chr1\t1000\n"]

If you already have the bytes, add them with their key, and no Python runs per item. Write the sorted bytes to any binary file in large chunks, merged on another thread while the file writes:

import io

with Sorter() as sorter:
    sorter.add_encoded(("chr2", 5), b"chr2\t5\t9\n")
    sorter.add_encoded(("chr1", 70), b"chr1\t70\t80\n")
    sorter.add_encoded(("chr1", 8), b"chr1\t8\t9\n")
    out = io.BytesIO()
    sorter.write_to(out)

assert out.getvalue() == b"chr1\t8\t9\nchr1\t70\t80\nchr2\t5\t9\n"

From Rust, push keyed byte records and read them back merged:

use spillsort::{Config, Sorter, key};

fn main() -> Result<(), spillsort::Error> {
    let mut sorter = Sorter::new(Config::default().max_bytes(64 << 20))?;
    for (refname, start) in [("chr2", 5), ("chr1", 70), ("chr1", 8)] {
        let mut sort_key = Vec::new();
        key::push_str(&mut sort_key, refname);
        key::push_int(&mut sort_key, start);
        sorter.push(&sort_key, format!("{refname}\t{start}\n").as_bytes())?;
    }

    let mut out = Vec::new();
    sorter.finish()?.write_values(&mut out)?;
    assert_eq!(out, b"chr1\t8\nchr1\t70\nchr2\t5\n");
    Ok(())
}

See the API documentation for the crate.

Keys

Keys compare exactly as Python compares them, even ints and floats of any size, and NaN sorts last:

with Sorter() as sorter:
    ordered = list(sorter.sort([2**64, float("nan"), 1.5, True, -0.5, 3]))

assert ordered[:-1] == [-0.5, True, 1.5, 3, 2**64]

Development and Testing

See the contributing guide for more information.

Metadata

Release files for spillsort 0.2.0

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

Source distribution (sdist)

Source distribution for spillsort 0.2.0
File Size Uploaded Provenance Actions
spillsort-0.2.0.tar.gz 60.7 kB With provenance Details for spillsort-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for spillsort 0.2.0
File Actions
spillsort-0.2.0-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details for spillsort-0.2.0-cp314-cp314t-win_amd64.whl
spillsort-0.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 Details for spillsort-0.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl
spillsort-0.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64 Details for spillsort-0.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl
spillsort-0.2.0-cp314-cp314t-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 Details for spillsort-0.2.0-cp314-cp314t-manylinux_2_28_aarch64.whl
spillsort-0.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 Details for spillsort-0.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
spillsort-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details for spillsort-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl
spillsort-0.2.0-cp314-cp314t-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 Details for spillsort-0.2.0-cp314-cp314t-macosx_10_12_x86_64.whl
spillsort-0.2.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for spillsort-0.2.0-cp311-abi3-win_amd64.whl
spillsort-0.2.0-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for spillsort-0.2.0-cp311-abi3-musllinux_1_2_x86_64.whl
spillsort-0.2.0-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details for spillsort-0.2.0-cp311-abi3-musllinux_1_2_aarch64.whl
spillsort-0.2.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for spillsort-0.2.0-cp311-abi3-manylinux_2_28_aarch64.whl
spillsort-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for spillsort-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
spillsort-0.2.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for spillsort-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
spillsort-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for spillsort-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 6.4 MB

Release files / spillsort-0.2.0.tar.gz

Download URL spillsort-0.2.0.tar.gz
Size 60.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1d99809e94360f4b2e1ad4122c9c6899c5d35d064932b4adeb9db420ba886315
BLAKE2b-256 checksum
How to use checksums
50b0d87cef3cac110b9332a368b55e4c40fe39e378fc2cd80e3736c2fe304ef5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp314-cp314t-win_amd64.whl

Download URL spillsort-0.2.0-cp314-cp314t-win_amd64.whl
Size 299.6 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
a6b4bb58e917bf562dafcc3f5b271cd07ae95032600d45073985b93379f5190c
BLAKE2b-256 checksum
How to use checksums
c8e0ee45fa6ad0dee7cc9bb5b280506b21af0743643c8ef0f50e8e8921dcd9f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl

Download URL spillsort-0.2.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Size 640.8 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
753937cf45e3fc3b6792d26870f5fb032f94aaa777b5130f4ff291cd40a77772
BLAKE2b-256 checksum
How to use checksums
6b8fe731b2e73565a9e60a43e977e001992b406712f2367a8f9c94979c5769d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl

Download URL spillsort-0.2.0-cp314-cp314t-musllinux_1_2_aarch64.whl
Size 603.4 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
12c87da15139a7f542903ba96860c2422fb8f983b35f46d47670d2fede8f9af7
BLAKE2b-256 checksum
How to use checksums
b8a5cd898e0c91d699ba0b91b77db0ba8bf2bdb348ac2586fd1f17b606f61306
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp314-cp314t-manylinux_2_28_aarch64.whl

Download URL spillsort-0.2.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Size 425.2 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
b852ce74e6b37519df5f67616fd02b36b1caa6a5549c42e20d0bdf88a4ce48f3
BLAKE2b-256 checksum
How to use checksums
6feace1dde1c105d2380c1c35f5de403f4988a5cdea74b0c7cacae353ef7ee0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL spillsort-0.2.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 428.1 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e05c5cb999b2d821c3591d2f6c14be77a59136d4d43ef5b7e14aae5fcc8964b6
BLAKE2b-256 checksum
How to use checksums
24b5200f5e2ea1c819aa0ce69b462dec1b56d51c6041f2a049db96f9ccb4ac38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl

Download URL spillsort-0.2.0-cp314-cp314t-macosx_11_0_arm64.whl
Size 379.9 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a0727ec7f58a4b073c9cac14f9587d7d5d38de680f5ab4e0f56269f4cce7e459
BLAKE2b-256 checksum
How to use checksums
a03c3f3de31c762d057fca3dc25beb5c133c67b17e2c2cd79076e6e2b1f2c464
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp314-cp314t-macosx_10_12_x86_64.whl

Download URL spillsort-0.2.0-cp314-cp314t-macosx_10_12_x86_64.whl
Size 393.0 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
45f9623b14469aae6f7b098e0137e29c314524b1bfd6ae4bdc6de0de0b4dcb7f
BLAKE2b-256 checksum
How to use checksums
22cc8079945fbdbf81867b87783e186e4144f12f3f69e6d54d0fd986c00a38d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp311-abi3-win_amd64.whl

Download URL spillsort-0.2.0-cp311-abi3-win_amd64.whl
Size 302.7 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d7771365cb02dca99e5aa0e745fc6533c16d2226128de1df16986af79146b00e
BLAKE2b-256 checksum
How to use checksums
639d4d4d3e3bca63e66663703df1c9d4857b9b2a835e42d26df74b4fa9df1c58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL spillsort-0.2.0-cp311-abi3-musllinux_1_2_x86_64.whl
Size 642.1 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
c2cb2145026916cd2f5384a46d4d9d59264ef4fd24b43137741b9fea36218e97
BLAKE2b-256 checksum
How to use checksums
d6bcb0d9e4066cc17c3873bfd7154acca56a1bab0ecc2a470a629c63de28831d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL spillsort-0.2.0-cp311-abi3-musllinux_1_2_aarch64.whl
Size 605.2 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
a2bf657d2caaabaa21d763860551140912234212128f0bb3a7665af083b9d7f8
BLAKE2b-256 checksum
How to use checksums
814c306251dcb58adaae58860942afac213a4cc7e77d77cb343432fd0cd0492a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL spillsort-0.2.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 427.6 kB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
100f98b419c983c01470606542761ab5f467a36b205ed86153a7a4f291146bec
BLAKE2b-256 checksum
How to use checksums
37b1d532cae195744ce1837149991eeeac83207ad083c92a9af71580e7943f63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL spillsort-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 429.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
dcc8f8df7ea3c54bdd5296193f34e1d5bd282beffb2a5405e086b13a410c5d8c
BLAKE2b-256 checksum
How to use checksums
0ee219b4ab2da3c43537aa225f7deb2890c1d8e559971fdcfbc9c068f19a7434
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL spillsort-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
Size 382.9 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
db0f259c59930976a83b42ee56600ae25dceee3e0895e567134c1b7428875833
BLAKE2b-256 checksum
How to use checksums
e496fc3bc62007056755320f091174b5833b807f23a27df126747c80289659a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Release files / spillsort-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL spillsort-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 392.4 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e3ce8a62f4fad628277f4b21fef1bed153b0e9d493fe3d850688d4d5040ac09e
BLAKE2b-256 checksum
How to use checksums
d6253f628ab60a0ee49b26eadf90f0476e1ed3ddf6f6d013711568bc4074587f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Security for spillsort 0.2.0

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 15 files in this release have been uploaded with provenance metadata.

Select from 15 files

Attestation for spillsort-0.2.0.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 Oct 20, 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