Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Oaklight/zerodep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

324 Commits

Repository files navigation

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

About

Zero-dependency, single-file Python implementations of popular libraries — benchmarked for performance parity | 零依赖单文件 Python 常用库实现,性能对标主流库

Topics

Resources

Contributing

Stars

Watchers

Forks

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /