PyPI package portfolio management and auditing toolkit.
- List packages - View all packages you've published to PyPI
- Package info - Get detailed information about any package
- Audit - Check packages for missing metadata (description, license, URLs)
pip install pypi-toolkitOr with uv:
uv pip install pypi-toolkit# Set your default PyPI username
pypi-toolkit package config --username your-username
# Show current configuration
pypi-toolkit package config --show# List all packages (uses default username)
pypi-toolkit package list
# Or specify a username
pypi-toolkit package list your-username
# Save to JSON
pypi-toolkit package list your-username --output packages.json# Show detailed package information
pypi-toolkit package info requests
# Output as JSON
pypi-toolkit package info requests --json# Audit your packages (uses default username)
pypi-toolkit package audit
# Audit a specific user's packages
pypi-toolkit package audit --user your-username
# Audit specific packages
pypi-toolkit package audit --package requests --package flask
# Save audit report
pypi-toolkit package audit --output audit.json# Check if a package name is available on PyPI
pypi-toolkit package check my-cool-package
# Check on TestPyPI instead
pypi-toolkit package check my-cool-package --test-pypiAll commands support the --test-pypi / -T flag to use TestPyPI instead of PyPI:
pypi-toolkit package info my-package --test-pypi
pypi-toolkit package list my-username --test-pypi
pypi-toolkit package audit --user my-username --test-pypiThe audit command checks for:
- Missing description - Package has no summary
- Missing license - No license specified in metadata
- No GitHub URL - No link to source repository
- No docs URL - No documentation link
- No Python requires - No Python version requirement specified
- Python 3.12+
MIT