zerodep
Zero-dependency, single-file Python implementations of popular libraries — stdlib only, benchmarked for performance parity, Python 3.10+.
零依赖、单文件的 Python 常用库实现 —— 仅使用标准库,性能对标主流库,支持 Python 3.10+。
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
Releases are automated via the Release workflow — lint, test, bump module versions, tag, and create a GitHub Release in one step.
Documentation
- English: zerodep.readthedocs.io/en/
- 中文: zerodep.readthedocs.io/zh-cn/
- Benchmarks: Live benchmark dashboard
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
Metadata
Release files for zerodep 2026.9.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zerodep-2026.9.15.tar.gz | 20.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zerodep-2026.9.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.5 kB
Release files / zerodep-2026.9.15.tar.gz
| Download URL | zerodep-2026.9.15.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40d59b080a2266606819af571ee2179d2e3a3015b93fd6cd5147715788c05b02
|
|
BLAKE2b-256 checksum How to use checksums |
e4b04a21ae282a824ccc458cfb482509917aa90a005c244dd979ffa18c34a1c9
|
| 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 Sep 28, 2026.
Transparency logRelease files / zerodep-2026.9.15-py3-none-any.whl
| Download URL | zerodep-2026.9.15-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd1b12f1651444979272dd3eeed17a2e132125ece59140e5d571410f51432875
|
|
BLAKE2b-256 checksum How to use checksums |
eac71e2866de3461105758392e4e4c815d3141fc4b131e92aaa283202cb9bc2d
|
| 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 Sep 28, 2026.
Transparency log