Documentation
PyPI CLI
pypi-pp-cli
Install
npx -y @mvanhorn/printing-press-library install pypiInstalls the CLI binary and the agent skill for Claude Code, Codex, Cursor, Gemini CLI, Copilot, and more. Add --cli-only or --skill-only for one half. Requires Node.
Documentation
PyPI JSON API. Look up Python package metadata, versions, release files, and vulnerability data. Browse recent updates and newest packages via RSS feeds. No authentication required — all endpoints are public.
Created by @hnshah (Hiten Shah).
Quick Start
1. Install
See Install above.
2. Verify Setup
pypi-pp-cli doctor
This checks your configuration.
3. Try Your First Command
pypi-pp-cli rss newest-packages
Usage
Run pypi-pp-cli --help for the full command reference and flag list.
Commands
pypi
Manage pypi
rss
RSS feeds for recent updates and newest packages
pypi-pp-cli rss newest-packages- RSS feed of the newest packages added to PyPI.pypi-pp-cli rss recent-updates- RSS feed of the most recently updated packages on PyPI.
Output Formats
# Human-readable table (default in terminal, JSON when piped)
pypi-pp-cli rss newest-packages
# JSON for scripting and agents
pypi-pp-cli rss newest-packages --json
# Filter to specific fields
pypi-pp-cli rss newest-packages --json --select id,name,status
# Dry run — show the request without sending
pypi-pp-cli rss newest-packages --dry-run
# Agent mode — JSON + compact + no prompts in one flag
pypi-pp-cli rss newest-packages --agent
Agent Usage
This CLI is designed for AI agent consumption:
- Non-interactive - never prompts, every input is a flag
- Pipeable -
--jsonoutput to stdout, errors to stderr - Filterable -
--select id,namereturns only fields you need - Previewable -
--dry-runshows the request without sending - Read-only by default - this CLI does not create, update, delete, publish, send, or mutate remote resources
- Offline-friendly - sync/search commands can use the local SQLite store when available
- Agent-safe by default - no colors or formatting unless
--human-friendlyis set
Exit codes: 0 success, 2 usage error, 3 not found, 5 API error, 7 rate limited, 10 config error.
Health Check
pypi-pp-cli doctor
Verifies configuration and connectivity to the API.
Configuration
Config file: ~/.config/pypi-pp-cli/config.toml
Troubleshooting
Not found errors (exit code 3)
- Check the resource ID is correct
- Run the
listcommand to see available items
Generated by CLI Printing Press
For agents: pass /documentation/pypi/agents.md to install this CLI from a prompt.