paulikit
Exact Pauli decomposition of arbitrary complex matrices, at scales where materialising the full coefficient set is the binding constraint.
Any $2^n \times 2^n$ complex matrix can be written as a weighted sum over the $4^n$ $n$-qubit Pauli strings. That decomposition is what turns a Hamiltonian into something a quantum algorithm can consume — it is the input to linear-combination-of-unitaries (LCU) routines, to Hamiltonian simulation, and to variational methods. Computing it is a fast Walsh-Hadamard transform, which is well established and cheap in theory.
The difficulty is not the transform. It is that the output has $4^n$ entries: at 15 qubits a dense decomposition is over a billion coefficients, and implementations that build the result in memory before returning it run out of memory long before they run out of time.
paulikit addresses that directly:
- Streaming output. Peak resident memory is bounded by the chunk size, not by the term count, so it stays roughly flat as the problem grows: measured peak resident set is 72 MiB for a 14-qubit decomposition yielding 90,431,488 terms (N=150), 88 MiB at 15 qubits (321,941,504 terms, N=200) and 122 MiB at 16 qubits (1,457,121,280 terms, N=300). An implementation requiring the caller to hold the dense $2^n \times 2^n$ operator needs 4 GiB, 16 GiB and 64 GiB respectively for the same three sizes.
- Exhaustive verification. Every term is checked individually — not sampled — against an independently derived projection oracle.
- Checkpoint and restart / stream writer. A binary chunk-framed
PKCP sink, cheap enough to leave enabled, written only from the main
drain thread. CLI:
--write-chunks PATH(alias--checkpoint-path). Without it, large CLI runs count and discard; with it, results stay on disk as(x, z, coeff)frames readable viaiter_checkpoint_chunks. - Multi-core execution, in the shipped package. Decomposition runs across multiple workers, selectable per call and from the command line: a thread pool that runs the compiled kernels concurrently, or a process pool. Chunks are independent by construction, and chunk sizing is tuned against measured cache boundaries. Scaling is characterised under a documented measurement protocol rather than asserted.
Hermitian and non-Hermitian input are equally supported and take the
same transform — neither is a degraded path. assume_hermitian=True
(the default) additionally returns real rather than complex
coefficients, and checks that the input really is Hermitian rather
than trusting it; pass assume_hermitian=False for general complex
matrices. Both cases are separately verified.
Requires Python >= 3.10; the only runtime dependency is NumPy.
Documentation
docs/installation.md |
Full build and install reference |
docs/tutorial.md |
Step-by-step walkthrough |
docs/runtime_estimates.md |
When large runs take seconds vs hours |
docs/theory.md |
Mathematical derivation |
docs/background.md |
Physical motivation |
docs/non_hermitian.md |
Non-Hermitian operators |
docs/package_layout.md |
Annotated source tree |
Installation
From PyPI (Linux manylinux wheels for CPython 3.10–3.13, x86_64 and aarch64; other platforms get the sdist and build or use pure Python):
pip install paulikit
The Linux wheels ship the wht_kernel set (Walsh–Hadamard, coefficients,
gather, Hermiticity check, plus optional x86-64-v3 twins),
cache_probe, and the serial pauli_label_native kernel (C +
Cython; no oneTBB). The optional oneTBB parallel label fill is
from-source only — e2e list[str] labeling is dominated by Python
string construction, so wheels do not vendor TBB for it. macOS,
Windows, and musllinux are not wheel targets.
From a source checkout (development):
./configure && make # creates a venv, generates a Makefile
make check # run the test suite
./configure prints a capability report (compiler, Cython, oneTBB,
cache hierarchy, NumPy's BLAS backend) and generates a Makefile with
the standard GNU targets. The build optionally compiles native
Cython/C(/C++) kernels; if the toolchain is unavailable it falls
back to pure Python automatically, with a warning the first time that
path runs.
Equivalent manual sequence (same result as make):
python3 -m venv ~/.venvs/paulikit
source ~/.venvs/paulikit/bin/activate
pip install numpy meson-python cython ninja
pip install -e ".[dev]" --no-build-isolation
See docs/installation.md for editable-install
sequencing and how to force the native extensions on or off. Canonical
development is on
Codeberg; a
GitHub mirror runs the
manylinux wheel workflow.
Usage
Fastest paths (start here for real work)
Two recipes cover the measured high-performance configurations.
Both require the compiled wht_kernel modules for best results
(pip install paulikit on Linux, or ./configure && make from a
checkout with a C toolchain). Prefer executor="thread" (or CLI
--executor thread / auto) when those kernels are present.
Sparse / large-N (CLI) — threaded drain, chunk size 2. This is the path that scales: labels are not built; peak RSS stays tens of MiB at sizes a dense matrix cannot hold.
paulikit decompose --n-oscillators 150 --chunk-size 2 --parallel \
--executor thread
# optional: --n-workers N # default = physical cores
# optional: --write-chunks PATH # persist streamed (x, z, coeff) frames
# optional: --progress # main-thread chunk ticks on stderr
Without --write-chunks (or its alias --checkpoint-path), the CLI
counts terms and discards each chunk after the drain — fine for
timing, not a usable archive. With --write-chunks PATH, the main
drain thread appends binary PKCP frames (symplectic x/z plus
complex coefficients); workers never touch the file. Read them back
with iter_checkpoint_chunks (see below). Pauli-string labels are
optional via terms_from_arrays on subsets — do not convert
billions of terms to Python strings by default.
--progress (opt-in) prints throttled chunks=k/N (p%) … eta=…
lines on stderr from a separate drain loop body — when the
flag is off, the quiet path makes no per-chunk progress calls.
Both paths run a short pre-drain chunk-count prep (outside the
reported Decomposition time) so quiet and progress starts share the
same CPU warm-up. Workers and library APIs never emit progress.
Dense fast path (library) — skip the sparsity scan. Use when the
operator is a full dense ndarray (e.g. random Hermitian). The CLI
does not yet expose assume_dense; call the array API directly:
from paulikit.algorithms.fwht import parallel_decompose_arrays
# H: dense complex128 array, shape (2**n, 2**n)
for x, z, coeff in parallel_decompose_arrays(
H,
chunk_size=2,
assume_dense=True,
n_workers=1, # or physical-core count for multi-core
executor="thread",
):
...
Publication measurements use dense qubits=13 and sparse N=300 with
these same knobs (chunk_size=2, assume_dense=True on dense,
executor="thread" / auto when kernels are present). See the
companion measurements deposit for the protocol and frozen numbers.
Command line (small examples)
Once installed, the paulikit console script is available:
paulikit --help
paulikit decompose --n-oscillators 4 --show-terms
paulikit benchmark --n-oscillators 2 4 8 16 30
paulikit regenerate-fixtures
Run paulikit <subcommand> --help for full details on each.
As a library (small example)
from paulikit.hamiltonian import build_hamiltonian, pad_to_power_of_two
from paulikit.algorithms.fwht import fwht_pauli_terms
spring_constants = {(0, 0): 1.0, (0, 1): 2.0, (1, 1): 3.0}
masses = [1.0, 2.0]
H = build_hamiltonian(n_oscillators=2, spring_constants=spring_constants, masses=masses)
H_padded, n_qubits = pad_to_power_of_two(H)
terms = fwht_pauli_terms(H_padded) # {"IXI": -0.556..., "XII": -0.354..., ...}
For large operators prefer parallel_decompose_arrays (see Fastest
paths above) over collecting a full label dict. To keep results on
disk while streaming:
from paulikit.algorithms.fwht import (
parallel_decompose_arrays,
iter_checkpoint_chunks,
terms_from_arrays,
)
path = "run.pkcp"
for x, z, coeff in parallel_decompose_arrays(
H_padded, chunk_size=2, checkpoint_path=path, executor="thread",
):
pass # optional: filter / reduce per chunk here
# Later (or in another process): one frame at a time
for chunk_index, x, z, coeff in iter_checkpoint_chunks(path):
# symplectic form is usable as-is; labels only if needed:
# labels = terms_from_arrays(x[:10], z[:10], coeff[:10], n_qubits)
...
Package layout
src/paulikit/
hamiltonian.py Coupled-oscillator Hamiltonian construction
pauli_utils.py Pauli-matrix helpers (label <-> matrix)
algorithms/fwht.py The decomposition algorithm
algorithms/autotune.py Cache-aware chunk sizing
testing/fixtures.py Known-good operators and expected outputs
_native/ Optional compiled kernels, pure-Python fallback
cli.py Command-line interface
tests/ Test suite (pytest)
verification/ Exhaustive correctness runs and their artifacts
docs/ Tutorial, theory, background, installation
See docs/package_layout.md for the
annotated tree.
Running the tests
pytest
# or: make check
(from this directory; pyproject.toml sets testpaths = ["tests"]
and skips @pytest.mark.slow by default. The package must be
installed — pip install -e ".[test]" — for imports to resolve).
323 default tests; 8 further slow benchmark comparisons.
Algorithms implemented
Fast Walsh-Hadamard Transform (FWHT) — paulikit.algorithms.fwht
$O(N^2 \log N)$ for an $N \times N$ matrix — equivalently $O(n \cdot 4^n)$ for $n$ qubits, since $N = 2^n$. Note the two symbols differ by an exponential: $n$ counts qubits everywhere else in this file, $N$ is the matrix side.
Decomposition by Walsh-Hadamard transform is established practice
rather than novel — PennyLane and Classiq both use it, and it is
treated at length in
Pauli decomposition via the fast Walsh-Hadamard transform.
What is original here is the implementation, not the method: the three
steps (XOR-index gather, Walsh-Hadamard transform, phase-factor
multiplication) were re-derived from the symplectic (X/Z)
representation of Pauli operators and checked against a
definition-level brute-force decomposition before being written in
fast form — see algorithms/fwht.py's module docstring for the
derivation. The contribution of this package is making that
computation memory-bounded, checkpointable, and verified at scale.
Unit-level checks on this algorithm (see tests/test_fwht.py; the
whole-package correctness evidence is under Correctness below):
- Against a from-scratch brute-force reference on random Hermitian matrices ($n=1..4$ qubits): exact match to floating-point precision.
- Against
testing.fixtures.ALL_FIXTURES(real coupled-oscillator Hamiltonians at $N=2$, $N=4$): exact label-set and coefficient match.
Correctness
paulikit's output is verified three ways:
- Exhaustive projection. Every term of a decomposition is checked
individually against an independently derived projection oracle —
not sampled — up to 90,431,488 terms at 14 qubits. The oracle
computes $\operatorname{Tr}(H P^{\dagger}) / \text{dim}$ directly
from the projection formula, so it shares no code path with the
transform it checks. Artifacts and method:
verification/. - Cross-implementation. Where PennyLane's
qml.pauli_decomposecan also run, both agree exactly on term count and on coefficients within tolerance. PennyLane is a test-only dependency and is never imported bypaulikit.algorithms. - Regression suite. 323 default tests (8 further slow benchmark comparisons excluded by default), including crash-recovery and checkpoint-format cases.
No performance comparison table is maintained in this README —
hand-maintained numbers go stale. Measured figures, the protocol, and
raw JSON live in the companion paulikit measurements Zenodo
deposit (Linux/perf reproducibility package), not in this library
repository.
Status
Alpha. The API is usable and the correctness evidence is strong, but the version is 0.x and signatures may still change.
Implemented and verified: the FWHT decomposition with optional
compiled kernels (transform, coefficients, gather, Hermiticity check,
labels, cache probe), sparsity-aware coefficients, streaming output
with bounded memory, chunked and parallel execution with cache-aware
auto-tuning, binary checkpoint/restart (including CLI --write-chunks),
opt-in CLI --progress, GNU-style CLI help, runtime-estimate guidance
for hour-scale sparse runs, and exhaustive verification to 90,431,488
terms at 14 qubits.
Known gaps:
- Published Linux manylinux wheels (x86_64 / aarch64, CPython 3.10–3.13)
ship
wht_kernel,cache_probe, and serialpauli_label_native. The optional oneTBB parallel label module is not in the wheel. macOS, Windows, and musllinux are not wheel targets — use the sdist / from-source build there. Wheel CI runs on the GitHub mirror (github.com/beavernets-inc/paulikit); Codeberg is the canonical tree. - CPU pinning and topology detection are Linux-only, with a documented fallback elsewhere; the non-Linux paths are not yet exercised in CI.
License
GPL-3.0-or-later. See LICENSE.
Metadata
Release files for paulikit 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| paulikit-0.1.4.tar.gz | 262.5 kB | With provenance | Details for paulikit-0.1.4.tar.gz |
Built distributions (wheels)
Total release size: 3.0 MB
Release files / paulikit-0.1.4.tar.gz
| Download URL | paulikit-0.1.4.tar.gz |
|---|---|
| Size | 262.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ca06d78a5b76cbc07ceaed6c73e2aa1e50374a0eeaac2e6930bf4c3ea99491a
|
|
BLAKE2b-256 checksum How to use checksums |
8ea712e0020a8d27b89fca00cbb6a2dae23444c017de887e1e62ddd30e07bec3
|
| 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 Nov 5, 2026.
Transparency logRelease files / paulikit-0.1.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | paulikit-0.1.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 373.8 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
49bad222fe8b8f8a237def38c421c371e16f8c0da2491f723baaf0f02d875a8d
|
|
BLAKE2b-256 checksum How to use checksums |
17e547de3f541128580c37061431e7b8b3690109c0e719f194dbdb97b238700a
|
| 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 Nov 5, 2026.
Transparency logRelease files / paulikit-0.1.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | paulikit-0.1.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 295.6 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
89aa7a18ec3b50cf87b3b7b29eb83153fd66e6c8c623c4f31f494a73177cc52f
|
|
BLAKE2b-256 checksum How to use checksums |
e685c0b11c497433fdc08283d175f1c1d795615a782af5e0088af99fd508a9fb
|
| 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 Nov 5, 2026.
Transparency logRelease files / paulikit-0.1.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | paulikit-0.1.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 376.0 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0e130b4367a4116b0ef64b7fa72f57030b52456f48ef41d82bf30608bf5668b2
|
|
BLAKE2b-256 checksum How to use checksums |
323d7fb630061024594fbb5f22e3b15a530b011cae7d83daec08fd702c076b98
|
| 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 Nov 5, 2026.
Transparency logRelease files / paulikit-0.1.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | paulikit-0.1.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 296.5 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
b6e7326ae2ef357c69ff219a39bbfebc2525039246f08e88edc0ff21b0fba2b9
|
|
BLAKE2b-256 checksum How to use checksums |
d0d4135546a91ab7f6f28f08a36fe441b91382b894d84338bbcfda9611dcbe8d
|
| 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 Nov 5, 2026.
Transparency logRelease files / paulikit-0.1.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | paulikit-0.1.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 378.3 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c887e5144a91ace866affa7c1ebe841885e1e3447f50e1b12ea7e53a54bb94b1
|
|
BLAKE2b-256 checksum How to use checksums |
1a7cdd2356e0aad4a23849bfbfb86349170546681d06676ea73ffea9792b605c
|
| 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 Nov 5, 2026.
Transparency logRelease files / paulikit-0.1.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | paulikit-0.1.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 299.0 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
5f7e5c9200c6d146a6161ea573db79135853487ddf795a48c727e700352448c7
|
|
BLAKE2b-256 checksum How to use checksums |
cc5a1bc0e9ff9c90df2d883850d1cc1138e8de5276ef5c4d5a3d6488c138a7e7
|
| 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 Nov 5, 2026.
Transparency logRelease files / paulikit-0.1.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | paulikit-0.1.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 380.5 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
420619763c99003c13a5f2dd8cc822d35858a06631b0d8d5c01d2e4f7066c7a1
|
|
BLAKE2b-256 checksum How to use checksums |
312beeffc0ff109a001851bb2a833ee451cbf562441fe24fa277320b9e57b807
|
| 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 Nov 5, 2026.
Transparency logRelease files / paulikit-0.1.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | paulikit-0.1.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 301.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
806e11d659ef3b3caa5a1c4dd2ffdb3b3dc9a835e88dc3efde4e441bfbcd738a
|
|
BLAKE2b-256 checksum How to use checksums |
d108da0497d5e73eb9d245a3e8f75e5c9ba89c86829c72a50cff4a9e0e643f9b
|
| 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 Nov 5, 2026.
Transparency logSecurity for paulikit 0.1.4
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 9 files in this release have been uploaded with provenance metadata.
Attestation for paulikit-0.1.4.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 Nov 5, 2026.
Transparency logA 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.