Zero-dependency, single-file Python implementations of popular libraries — benchmarked for performance parity
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zerodep-2026.6.13.tar.gz.
File metadata
- Download URL: zerodep-2026.6.13.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0258b496f4a84ba3a017973c0c14265e4f1076bb9e75367d6ee6325a1c0c00c
|
|
| MD5 |
93ed487ab462d92683a92e4ac698dcc0
|
|
| BLAKE2b-256 |
f1a96cf0caba399a8bf60074a13ca0a5bc2e551021a819e6aa6af06700fd2532
|
Provenance
The following attestation bundles were made for zerodep-2026.6.13.tar.gz:
Publisher:
pypi.yml on Oaklight/zerodep
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zerodep-2026.6.13.tar.gz -
Subject digest:
d0258b496f4a84ba3a017973c0c14265e4f1076bb9e75367d6ee6325a1c0c00c - Sigstore transparency entry: 1807636561
- Sigstore integration time:
-
Permalink:
Oaklight/zerodep@681d1d16fe22b3cd6ea1cda52972c71c27bafeb8 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Oaklight
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@681d1d16fe22b3cd6ea1cda52972c71c27bafeb8 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file zerodep-2026.6.13-py3-none-any.whl.
File metadata
- Download URL: zerodep-2026.6.13-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27c02b0069e85df42731e7a9f360185916f5c360908818275f650eba538cd9f1
|
|
| MD5 |
922ef4ee74343b668473ca90d3364bf6
|
|
| BLAKE2b-256 |
f3b73a1ed593acadde22faecc8099edbce1862545103e6c0acc7f801358b9d9b
|
Provenance
The following attestation bundles were made for zerodep-2026.6.13-py3-none-any.whl:
Publisher:
pypi.yml on Oaklight/zerodep
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zerodep-2026.6.13-py3-none-any.whl -
Subject digest:
27c02b0069e85df42731e7a9f360185916f5c360908818275f650eba538cd9f1 - Sigstore transparency entry: 1807636643
- Sigstore integration time:
-
Permalink:
Oaklight/zerodep@681d1d16fe22b3cd6ea1cda52972c71c27bafeb8 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Oaklight
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@681d1d16fe22b3cd6ea1cda52972c71c27bafeb8 -
Trigger Event:
workflow_dispatch
-
Statement type: