Skip to content

title: Module Overview

Module Overview

Each zerodep module is a self-contained single .py file that you can copy directly into your project. No pip install required at runtime.

Module Status

Module Version Last Updated
a2a 0.3.1 2026-04-27
acp 0.3.1 2026-04-27
aes 0.5.0 2026-04-20
ansi 0.3.0 2026-04-11
cache 0.2.4 2026-04-27
cdp 0.1.0 2026-05-02
config 0.3.1 2026-06-12
depdetect 0.4.3 2026-04-15
diff 0.3.1 2026-04-15
dotenv 0.3.1 2026-04-27
filelock 0.3.0 2026-04-27
frontmatter 0.3.0 2026-04-27
httpclient 0.4.2 2026-06-01
httpserver 0.1.1 2026-06-12
jsonrpc 0.3.0 2026-04-27
jsonschema 0.2.0 2026-05-11
jsonx 1.0.0 2026-06-12
llmstxt 0.1.1 2026-04-27
markdown 0.4.1 2026-04-27
multipart 0.1.0 2026-05-16
persistdict 0.4.1 2026-04-27
png 0.1.1 2026-04-27
prompt 0.2.0 2026-04-11
protobuf 0.4.4 2026-04-27
qr 0.3.3 2026-04-27
readability 0.2.0 2026-06-12
retry 0.3.0 2026-04-27
runner 0.3.1 2026-04-15
scheduler 0.3.1 2026-04-15
semver 0.4.1 2026-04-27
skills 0.4.2 2026-04-27
soup 0.6.0 2026-04-27
sparse_search 0.4.0 2026-04-27
sse 0.3.1 2026-04-15
structlog 0.3.0 2026-04-27
synctex 0.2.0 2026-05-02
tabulate 0.1.1 2026-04-15
toon 0.3.3 2026-04-27
useragent 0.1.0 2026-05-02
validate 0.5.0 2026-05-05
vcs 0.3.0 2026-04-11
websocket 0.1.0 2026-05-02
xml 0.3.1 2026-04-27
yaml 0.3.1 2026-04-27

All Modules

Web & Networking

Module Description Replaces Benchmark Against
httpclient Sync + async REST client with connection pooling, proxy, and auth requests, httpx, urllib3, aiohttp (client) httpx
sse Server-Sent Events client with auto-reconnect sseclient-py, aiohttp-sse-client, httpx-sse httpx-sse
httpserver Async HTTP server with decorator-based routing, streaming, and static files flask (lightweight), microdot, bottle, starlette (basic), aiohttp (server) flask / microdot / bottle
useragent Lightweight Chrome/Edge User-Agent generator with Client Hints fake-useragent, ua-generator, user-agents ua-generator
websocket RFC 6455 WebSocket client with sync + async support websocket-client, websockets websockets

Agent Protocols

Module Description Replaces Benchmark Against
jsonrpc JSON-RPC 2.0 protocol: data types, dispatcher, async transport jsonrpclib, jsonrpcserver, python-jsonrpc jsonrpcserver
a2a Google A2A protocol: JSON-RPC 2.0, SSE streaming, task management a2a-sdk, a2a-python a2a-python
acp Anthropic ACP protocol: JSON-RPC 2.0 over stdio, async client/agent acp-python acp-python
skills Agent Skills runtime: parse, discover, manage, select skills -- --
llmstxt llms.txt parser and markdown URL candidate finder -- --
cdp Chrome DevTools Protocol client for headless browser automation pychrome, pycdp websockets

Serialization

Module Description Replaces Benchmark Against
xml XML ↔ dict converter with fault-tolerant parsing and LLM tag extraction xmltodict xmltodict
yaml YAML parser and serializer (common subset) PyYAML, ruamel.yaml (common subset) PyYAML
jsonx Extended JSON parser (JSONC + JSONL/NDJSON) commentjson, jsonlines, ndjson commentjson
toon TOON (Token-Oriented Object Notation) encoder/decoder toon-format toon_format
frontmatter Frontmatter parser and serializer (YAML/TOML/JSON) python-frontmatter python-frontmatter
protobuf Proto3 encoder/decoder using Python dataclass schemas protobuf (google), betterproto protobuf
multipart Multipart/form-data parser and encoder (RFC 7578) python-multipart python-multipart

Validation

Module Description Replaces Benchmark Against
validate Runtime TypedDict/dataclass validator with JSON Schema generation pydantic (validation), cattrs, typeguard, marshmallow pydantic
jsonschema JSON Schema flattening & sanitization ($ref, allOf, anyOf) jsonschema (LLM-specific), allof-merge allof-merge
semver PEP 440 version parser and comparator packaging (Version), semver packaging
Module Description Replaces Benchmark Against
markdown Markdown to HTML renderer (CommonMark subset + GFM tables) mistune, markdown, markdown-it-py mistune
soup HTML parser with BeautifulSoup-like API (find, select, CSS selectors) beautifulsoup4 (common subset) beautifulsoup4
readability Article content extractor ported from Mozilla Readability.js readability-lxml, newspaper3k, trafilatura readability-lxml
diff Unified diff parser, patch apply/reverse, three-way merge unidiff, patch unidiff
sparse_search BM25/BM25+/BM25L/BM25F + TF-IDF full-text search with Bayesian calibration, RRF fusion, MMR diversity rank-bm25, bm25s, whoosh rank-bm25
synctex SyncTeX inverse-search parser (PDF position → source location) -- --

Configuration

Module Description Replaces Benchmark Against
dotenv .env file parser (load_dotenv, dotenv_values) python-dotenv python-dotenv
config Unified config loader (env vars, .env, JSON/YAML/TOML/INI) python-decouple, dynaconf, environs, pydantic-settings python-decouple

CLI & Terminal

Module Description Replaces Benchmark Against
ansi ANSI terminal styling: colors, attributes, detection, strip/visible_len colorama, termcolor --
tabulate Table formatting with multiple output styles tabulate, prettytable tabulate
prompt Interactive CLI prompts (confirm, select, text) inquirer, questionary questionary

Security

Module Description Replaces Benchmark Against
aes AES encryption: ECB, CBC, CTR, GCM modes (pure Python + OpenSSL via ctypes) pycryptodome (AES), cryptography (AES) pycryptodome

Image

Module Description Replaces Benchmark Against
png PNG/BMP image codec with matrix compression API pypng, Pillow (PNG/BMP subset) Pillow
qr QR Code generation with terminal rendering qrcode, segno qrcode

Process & Execution

Module Description Replaces Benchmark Against
retry Decorator-based retry with configurable backoff strategies tenacity, retrying, backoff tenacity
scheduler In-process task scheduler with cron, interval, one-shot triggers APScheduler, schedule, croniter APScheduler
runner Structured subprocess execution with timeout escalation sh, plumbum (partial) --
filelock Cross-platform advisory file lock (fcntl/msvcrt) filelock --

Storage

Module Description Replaces Benchmark Against
cache In-memory cache with TTL, LRU/LFU eviction, and async support cachetools, diskcache (in-memory) cachetools
persistdict Persistent dict with pluggable backends (JSON, SQLite) sqlitedict, diskcache (dict) --

Dev Tools

Module Description Replaces Benchmark Against
structlog Structured logging with pretty console output structlog, python-json-logger, loguru structlog
vcs Git/Hg/Jujutsu CLI wrapper (diff, status, log, blame) GitPython, pygit2 (high-level) --
depdetect Dependency detection and verification pipreqs (partial) --

Inter-Module Dependencies

Most zerodep modules are fully standalone. The following modules depend on other zerodep modules:

graph LR
    a2a --> jsonrpc
    acp --> jsonrpc
    cdp --> websocket
    config --> dotenv
    config --> jsonx
    config --> yaml
    frontmatter --> yaml
    qr --> png
    readability --> soup
    skills --> frontmatter
    skills --> sparse_search
    sse --> httpclient
    vcs --> diff

When using the CLI tool, dependencies are resolved automatically. For manual installation, ensure all required modules are present.