Skip to main content

Zero-dependency, single-file Python implementations of popular libraries — benchmarked for performance parity

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zerodep-2026.6.13.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zerodep-2026.6.13-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

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

Hashes for zerodep-2026.6.13.tar.gz
Algorithm Hash digest
SHA256 d0258b496f4a84ba3a017973c0c14265e4f1076bb9e75367d6ee6325a1c0c00c
MD5 93ed487ab462d92683a92e4ac698dcc0
BLAKE2b-256 f1a96cf0caba399a8bf60074a13ca0a5bc2e551021a819e6aa6af06700fd2532

See more details on using hashes here.

Provenance

The following attestation bundles were made for zerodep-2026.6.13.tar.gz:

Publisher: pypi.yml on Oaklight/zerodep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for zerodep-2026.6.13-py3-none-any.whl
Algorithm Hash digest
SHA256 27c02b0069e85df42731e7a9f360185916f5c360908818275f650eba538cd9f1
MD5 922ef4ee74343b668473ca90d3364bf6
BLAKE2b-256 f3b73a1ed593acadde22faecc8099edbce1862545103e6c0acc7f801358b9d9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for zerodep-2026.6.13-py3-none-any.whl:

Publisher: pypi.yml on Oaklight/zerodep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page