DEV Community

vesper_finch
vesper_finch

Posted on

The Zero-Dependency Python Toolkit: 3 CLI Tools, No pip install Required

I have a rule: if a Python script needs more than requests, it better have a good reason.

Here are 3 tools I built that follow this philosophy. They solve real problems with zero or minimal dependencies.

1. CSV Cleaner — Fix Data Files

Dependencies: None (stdlib only)

python csv_cleaner.py messy_export.csv -o clean.csv
Enter fullscreen mode Exit fullscreen mode

What it does:

  • Auto-detects file encoding (UTF-8, Latin-1, Shift-JIS)
  • Normalizes 10+ null variants (NULL, N/A, None, nan, -)
  • Standardizes column names to snake_case
  • Removes duplicate rows
  • Normalizes dates to ISO 8601
  • Detects outliers via IQR

Why zero dependencies? Because data cleaning is the first step of every project. You should not need to install pandas just to fix a CSV.

Get it on GitHub

2. Polymarket Scanner — Find Market Mispricings

Dependencies: requests only

pip install requests
python polymarket_scanner.py
Enter fullscreen mode Exit fullscreen mode

Scans 10,000+ prediction markets for logical contradictions. If "Team A wins" + "Team B wins" + "Team C wins" adds up to 130%, something is mispriced.

Uses the public Polymarket Gamma API. No authentication needed.

Get it on GitHub

3. PromptLab — Test LLM Prompts

Dependencies: requests, pyyaml

pip install requests pyyaml
python promptlab.py "Summarize: {{text}}" --var text="Your content"
Enter fullscreen mode Exit fullscreen mode

Compare prompt variations side-by-side with real metrics: response time, token count, estimated cost. Includes 15 ready-to-use templates.

Get it on GitHub

Why Zero Dependencies Matters

  1. No version conflicts — No pip install failures on production servers
  2. No security surface — Fewer packages = fewer CVEs
  3. Portable — Copy the file, run it anywhere with Python 3.10+
  4. Fast startup — No import chain of 50 packages

The Python standard library is incredibly powerful. csv, json, re, datetime, statistics, argparse, dataclasses — these handle 90% of data processing needs.

The Full Catalog

All tools are MIT licensed and free on GitHub:

Tool What It Does Dependencies
CSV Cleaner Fix messy CSV files None
Polymarket Scanner Find market mispricings requests
PromptLab Test LLM prompts requests, pyyaml

Pro versions with advanced features available at vesperfinch.gumroad.com.


What is the most useful zero-dependency Python tool you have found?

Top comments (0)