{"repo":"AhsanSheraz/pywho","free":true,"listed":false,"github":"https://github.com/AhsanSheraz/pywho","clone":"git clone https://github.com/AhsanSheraz/pywho.git","description":"One command to explain your Python environment, trace imports, and detect shadows.","language":"Python","stars":87,"topics":["cli","debugging","developer-tools","devtools","diagnostics","import","python","python-environment","stdlib","virtual-environment"],"license":"MIT","category":"dev-tools","readme_excerpt":"pywho One command to explain your Python environment, trace imports, and detect shadows. --- Ever asked \"Which Python am I running? Why did import X load that file? Do I have any files shadowing real modules?\" — pywho answers all of it instantly. 📖 Read the full documentation Quick Reference Command Description --------- ------------- pywho Show a full report of your Python environment pywho --json Output environment report as JSON pywho --packages Include all installed packages in the report pywho --no-pip Skip pip version detection (faster) pywho trace Trace where an import resolves and show search order pywho trace --verbose Trace with full sys.path search log pywho trace --json Trace output as JSON pywho scan . Scan project for files that shadow stdlib/installed packages pywho scan . --no-installed Scan against stdlib only (skip installed packages) pywho scan . --json Scan output as JSON python -m pywho Run as a Python module Table of Contents - Getting Started - Why pywho? - Usage - Environment Inspection - Import Tracing - Shadow Scanning - Python API - What It Detects - Use Cases - Platforms - Development - License Getting Started Or with uv: For one-off usage without changing project dependencies: Note: uvx pywho is not recommended — it runs inside uv's ephemeral sandbox, so the output reflects that temporary environment instead of your actual project. Use uv add --dev pywho for regular project use, or uv run --with pywho pywho for one-off checks. Why pywho? - \"Works","default_branch":null,"files":null,"tree":[],"storefront":"/r/AhsanSheraz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AhsanSheraz/pywho/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}