8000 Releases · AhsanSheraz/pywho · GitHub
[go: up one dir, main page]

Skip to content

Releases

v0.3.4

Choose a tag to compare

@AhsanSheraz AhsanSheraz released this 18 Oct 19:56
0a79282

Drop Python 3.9 support (minimum is now 3.10) and add Python 3.15 support.

Includes #68 — skip pip version detection when --no-pip is passed. Thanks to @GreedyC.

See the CHANGELOG for details.

v0.3.3

Choose a tag to compare

@AhsanSheraz AhsanSheraz released this 22 Mar 21:49
2bb97bb

What's Changed

v0.3.3

  • Replaced uvx pywho recommendation with caveat about ephemeral environments
  • Re-release to include updated README on PyPI

v0.3.2

  • Respect NO_COLOR / FORCE_COLOR environment variables (no-color.org)
  • Cache supports_color() with lru_cache to avoid redundant syscalls
  • Replace private dist._path with public dist.locate_file() API
  • Narrow bare except Exception to (ImportError, StopIteration, OSError)
  • Complete Python 3.9 stdlib fallback (100 → 205 modules)
  • Eliminate redundant pyvenv.cfg read in _detect_package_manager()
  • Add explicit encoding="utf-8" for pyvenv.cfg reads
  • Add if __name__ == "__main__" guard to __main__.py
  • Extract duplicated _get_stdlib_names() to shared _stdlib.py module
  • Use frozenset for _EXCLUDE_DIRS and _IGNORE_NAMES constants
  • Upgrade classifier to Development Status :: 5 - Production/Stable

Full Changelog: v0.3.1...v0.3.3

v0.3.1

Choose a tag to compare

@AhsanSheraz AhsanSheraz released this 15 Mar 15:53

What's Changed

Added

  • Release workflow: publish to PyPI automatically on GitHub Release creation
  • 95% minimum test coverage enforced in CI
  • Comprehensive test suite: 131 tests with 97% coverage
  • Tests for all venv types (conda, pipenv, virtualenv, uv, poetry)
  • Cross-platform test fixes for Windows and Python 3.9

Full Changelog: v0.3.0...v0.3.1

v0.3.0 - Shadow Scanning

Choose a tag to compare

@AhsanSheraz AhsanSheraz released this 15 Mar 14:50
1d3256a

v0.3.0 - Shadow Scanning (2026-03-15)

Added

  • pywho scan subcommand for project-wide shadow detection
  • Scans directory trees for .py files that shadow stdlib or installed packages
  • Severity levels: HIGH (stdlib) and MEDIUM (installed)
  • --no-installed flag to check stdlib only
  • --json flag for machine-readable output
  • scan_path() Python API with ShadowResult dataclass
  • Smart exclusions: skips .venv, __pycache__, node_modules, dist, build, etc.
  • Ignores common non-module files: setup.py, conftest.py, manage.py
  • Revamped README with badges, table of contents, and quick-reference command table

No Breaking Changes

This release is fully backward-compatible with v0.2.0.

Install

pip install pywho==0.3.0

Full Changelog: v0.2.0...v0.3.0

v0.2.0 — Import Resolution Tracer

Choose a tag to compare

@AhsanSheraz AhsanSheraz released this 15 Mar 14:30
0b628bb

What's New

pywho trace subcommand

Trace where any import resolves and why:

pywho trace requests
pywho trace json --verbose
pywho trace os.path --json
  • Shows resolved file path and module type (stdlib/third-party/local/builtin)
  • Full sys.path search order
  • Shadow detection — warns when local files shadow stdlib or installed packages
  • --verbose and --json flags
  • trace_import() Python API with TraceReport dataclass

Improvements

  • Cross-platform module classification fix for macOS/Linux system Python
  • 21 new tests (53 total)
  • Updated documentation and API reference

Install / Upgrade

pip install --upgrade pywho

Full Changelog: https://github.com/AhsanSheraz/pywho/blob/main/CHANGELOG.md

v0.1.0 - Initial Release

6D5D

Choose a tag to compare

@AhsanSheraz AhsanSheraz released this 15 Mar 14:49

v0.1.0 - Initial Release (2026-03-15)

Added

  • Core environment inspection: interpreter, platform, venv, paths, packages
  • Virtual environment detection: venv, virtualenv, uv, conda, poetry, pipenv
  • Package manager detection: pip, uv, conda, poetry, pipenv, pyenv
  • CLI with --json, --packages, and --no-pip flags
  • python -m pywho support
  • Cross-platform support: Linux, macOS, Windows
  • Python 3.9 – 3.14 support
  • Typed (py.typed marker)

Install

pip install pywho==0.1.0

Full Changelog: https://github.com/AhsanSheraz/pywho/blob/main/CHANGELOG.md

0