Skip to main content

CLI tool to inspect Python package informations from PyPI and GitHub.

Project description

whatdeps

Tests codecov PyPI Python t

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

You can install it as a commandline tool with pipx or uv tool

uv tool install whatdeps

pipx install whatdeps

or

You can install it in your project environment with pip or uv

pip install whatdeps

uv add whatdeps

Usage

Run it in any Python project with a dependency specification file:

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.txt and 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whatdeps-0.1.0.post2.tar.gz (41.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whatdeps-0.1.0.post2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file whatdeps-0.1.0.post2.tar.gz.

File metadata

  • Download URL: whatdeps-0.1.0.post2.tar.gz
  • Upload date:
  • Size: 41.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0rc1

File hashes

Hashes for whatdeps-0.1.0.post2.tar.gz
Algorithm Hash digest
SHA256 f6e71a639e3816a8a0afff5f511f1de573c55d419776225be893f6e0655a8384
MD5 5d58198426fe60e75604b94cec5ca688
BLAKE2b-256 95fbf84d8fe4eb4752fad1ad1ba7e71d5a10e85e8957ca31def4aa0c38bf9c4c

See more details on using hashes here.

File details

Details for the file whatdeps-0.1.0.post2-py3-none-any.whl.

File metadata

  • Download URL: whatdeps-0.1.0.post2-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0rc1

File hashes

Hashes for whatdeps-0.1.0.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 de5c82bbb2123c81aed1ca70395647192f1a49ca7acdc0b724ed2f9a9b73a2b4
MD5 cbac37f8c85441bce935cd0b214c8d94
BLAKE2b-256 061a8fa44318449e0d54a63534588b6da13a83b8f28a8fbe79f1f58cf8b57936

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page