Skip to main content

zerodep

CLI Version GitHub Release License: MIT Python CI Benchmarks arXiv

Zero-dependency, single-file Python implementations of popular libraries — stdlib only, benchmarked for performance parity, Python 3.10+.

零依赖、单文件的 Python 常用库实现 —— 仅使用标准库,性能对标主流库,支持 Python 3.10+。

English Docs | 中文文档

Quick Start

pip install zerodep          # install the CLI
zerodep add yaml retry       # copy modules into your project
from yaml import load, dump

data = load("name: Alice\nage: 30")
print(data)  # {'name': 'Alice', 'age': 30}

Each module is a self-contained single .py file — copy it into your project and import. No pip install needed at runtime.

Modules

Modules span Agent Protocols, Web & Networking, Data Formats, Data Validation, Text & Markup, Search & Retrieval, Configuration, CLI & Terminal, Security, and Infrastructure & Tools.

See the full module list for details, versions, and benchmarks.

Versioning

  • Project: CalVer YYYY.M.D (e.g., 2026.4.15)
  • Modules: independent SemVer per module (e.g., 0.4.1)

Releases are automated via the Release workflow — lint, test, bump module versions, tag, and create a GitHub Release in one step.

Documentation

Citation

If you use zerodep in your research, please cite our paper:

@article{ding2026stdlib,
  title={Stdlib or Third-Party? Empirical Performance and Correctness of LLM-Assisted Zero-Dependency Python Libraries},
  author={Ding, Peng and Stevens, Rick},
  journal={arXiv preprint arXiv:2605.21405},
  year={2026}
}

License

MIT

Metadata

Release files for zerodep 2026.10.23.3

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

Source distribution (sdist)

Source distribution for zerodep 2026.10.23.3
File Size Uploaded Provenance
zerodep-2026.10.23.3.tar.gz 36.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for zerodep 2026.10.23.3
File Interpreter ABI Platform
zerodep-2026.10.23.3-py3-none-any.whl Python 3 none any Details

Total release size: 71.3 kB

Release files / zerodep-2026.10.23.3.tar.gz

Download URL zerodep-2026.10.23.3.tar.gz
Size 36.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0037624232a6b181c705ed573bd6b5ede3bbd921567e731e66f80d96f12ff09d
BLAKE2b-256 checksum
How to use checksums
8e40c12683c42aeae57b039c4b874ec25e824bbd04276f4bef6b2bd85b7a0a20
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 Oct 23, 2026.

Transparency log

Release files / zerodep-2026.10.23.3-py3-none-any.whl

Download URL zerodep-2026.10.23.3-py3-none-any.whl
Size 34.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da7136df8f8570c3ea273caaab65898ce818956cb37b41f2dceec57f0892c90f
BLAKE2b-256 checksum
How to use checksums
89b01c4ec2a3e6ee7e1a426945ee4c1eb73d8e7bb6bc7f0b17d23ebcf9ce0cfd
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 Oct 23, 2026.

Transparency log

Security for zerodep 2026.10.23.3

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

Select from 2 files

Attestation for zerodep-2026.10.23.3.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 23, 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