gauge-sh / tach

A Python tool to enforce dependencies, using modular architecture 🌎 Open source 🐍 Installable via pip πŸ”§ Able to be adopted incrementally - ⚑ Implemented with no runtime impact ♾️ Interoperable with your existing systems πŸ¦€ Written in rust
https://gauge.sh
MIT License
1k stars 35 forks source link

Add report-external command #222

Closed emdoyle closed 1 month ago

emdoyle commented 1 month ago

cc: @devstein

This PR introduces report-external, which detects usages of third-party packages in a given file path. It can also be used with --raw to generate machine-readable output suitable for piping into a requirements.in during a build process.

Example:

> tach report-external --raw python/tach
pyyaml
pydantic
stdlib-list
importlib-metadata
gitpython
prompt-toolkit
networkx
rich
devstein commented 1 month ago

@emdoyle πŸ™‡β€β™‚οΈ