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.1.tar.gz (43.2 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.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file whatdeps-0.1.1.tar.gz.

File metadata

  • Download URL: whatdeps-0.1.1.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for whatdeps-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ab19e285cb061afeef6ef8fb8fe72edc70c004a6041a0583cf699164bc8bd7f4
MD5 d2dfaa436f518ed77043a30d6ef376b2
BLAKE2b-256 659bece229942080fb895d3e8c6c0290d23645286c57e64ba83ddae04ae0bdb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for whatdeps-0.1.1.tar.gz:

Publisher: release.yml on EmmanuelNiyonshuti/whatdeps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file whatdeps-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: whatdeps-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for whatdeps-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b177c1161c8588e4f29b3cca11c4fac7c5a204a07f7f4f4ad02dc6b3c6b6174
MD5 d8971b126c58140e8445781d5edf2449
BLAKE2b-256 948962fd995e3a2150f79e5fb95968f9117deb21624d794d551e84f4f89d2a81

See more details on using hashes here.

Provenance

The following attestation bundles were made for whatdeps-0.1.1-py3-none-any.whl:

Publisher: release.yml on EmmanuelNiyonshuti/whatdeps

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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