Skip to main content

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

Project description

zerodep

PyPI GitHub Release License: MIT Python CI Docs

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

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.4.27.tar.gz (16.5 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.4.27-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file zerodep-2026.4.27.tar.gz.

File metadata

  • Download URL: zerodep-2026.4.27.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for zerodep-2026.4.27.tar.gz
Algorithm Hash digest
SHA256 5007d969a176e03e5f7c5a94fafa5acefe585d9205cfe0bb140f76b0a925be3a
MD5 b470543e92b8c80efc0a36e9d8190c59
BLAKE2b-256 4d514b6e25d749d4109bfbd0d5c9fd7b0630a089dceba08b19196170aef15f5b

See more details on using hashes here.

File details

Details for the file zerodep-2026.4.27-py3-none-any.whl.

File metadata

  • Download URL: zerodep-2026.4.27-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for zerodep-2026.4.27-py3-none-any.whl
Algorithm Hash digest
SHA256 8b346ef41fa7ed3c2a1425dac96df8dfc2a83eceaac005c68706b310731cec32
MD5 ce9dcfff50d2ac289dff53ed57d64b89
BLAKE2b-256 ad8635ceab66b0d96419f5880d0bd8f825ddb6f9b497b6d0155fdd51fb23bde3

See more details on using hashes here.

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