CLI tool to inspect Python package informations from PyPI and GitHub.
Project description
whatdeps
A tiny CLI tool that shows basic information about a Python project’s dependencies using few pieces of information from PyPI and GitHub.
it shows
- Supported Python versions - minimum version required
- Disk size - space it takes up
- Last release - when it was last updated on PyPI
- Last push - recent activity on GitHub
- Issues - open/closed ratio (to give a sense of maintenance)
- Stars - popularity on GitHub
Installtion
to install whatdeps run
pip install whatdeps
Usage
Run it in any Python project:
whatdeps
Or point it at a specific file:
whatdeps -f requirements.txt
whatdeps -f pyproject.toml
Example output
Inspecting 4 packages (4 prod, 0 dev)
Fetching metadata from PyPI and GitHub... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100%
Production Dependencies
╭──────────────┬──────────────┬──────────┬───────────────┬──────────────┬──────────────┬─────────╮
│ │ Supported │ Size on │ Last Release │ Last Push │ Issues (O/C) │ Stars │
│ Package │ Python │ Disk │ on PyPI │ on GitHub │ on GitHub │ │
├──────────────┼──────────────┼──────────┼───────────────┼──────────────┼──────────────┼─────────┤
│ authlib │ >=3.9 │ 1.3MB │ 2024-12-12 │ 2025-01-21 │ 130/414 │ 5,184 │
│ fastapi │ >=3.9 │ 1.3MB │ 2024-12-27 │ 2025-01-23 │ 212/3471 │ 94,390 │
│ pwdlib │ >=3.10 │ 32.2KB │ 2024-10-25 │ 2024-12-11 │ 2/10 │ 126 │
│ pytest │ >=3.10 │ 25.2KB │ 2024-12-06 │ 2025-01-19 │ 980/5373 │ 13,483 │
├──────────────┼──────────────┼──────────┼───────────────┼──────────────┼──────────────┼─────────┤
│ │ Total │ │ 2.7MB │ │ │ │
╰──────────────┴──────────────┴──────────┴───────────────┴──────────────┴──────────────┴─────────╯
╭─────────────────────────────────── Summary ───────────────────────────────────╮
│ Total Packages: 4 │
│ Total Disk Usage: 2.7MB │
│ │
│ Issues shown as Open/Closed ratio │
╰───────────────────────────────────────────────────────────────────────────────╯
Supported formats
pyproject.toml(PEP 621, Poetry, Hatch)requirements.txtand other common formats (requirements-dev.txt, etc.) Dependencies are parsed according to PEP 508. Development dependencies follow PEP 735 groupings.
Packages in requirements.txt are treated as production dependencies; those from other pip requirements files are considered as other dependencies.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whatdeps-0.1.0.post1.tar.gz.
File metadata
- Download URL: whatdeps-0.1.0.post1.tar.gz
- Upload date:
- Size: 41.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4675b6e74cf1e1d2af0b34116df9d8053cb14c67e78a1c3f8f53d079379e445b
|
|
| MD5 |
8d9a621ef17063c4d5cb301735b3efa1
|
|
| BLAKE2b-256 |
40e146ea87ae2a8eec9cef67da28108ecaef806c0d6e79ea25c339ed9a80c771
|
File details
Details for the file whatdeps-0.1.0.post1-py3-none-any.whl.
File metadata
- Download URL: whatdeps-0.1.0.post1-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
faadc1d364af9c4cc894bc7e5cc42e377cc0148eb80fc6ef9b96f498c7b6c624
|
|
| MD5 |
f1c2148a97b0c940e5bea280ce4eb1e2
|
|
| BLAKE2b-256 |
e3765878f1078af2d05e4ef9b42e2bbcabef762a6a8706a3689ed1d849e757e0
|