Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add report-external command #222

Merged
merged 4 commits into from
Aug 5, 2024
Merged

Add report-external command #222

merged 4 commits into from
Aug 5, 2024

Conversation

emdoyle
Copy link
Member

@emdoyle emdoyle commented Aug 3, 2024

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

@emdoyle emdoyle changed the title [WIP] Add report-external command Add report-external command Aug 4, 2024
@emdoyle emdoyle marked this pull request as ready for review August 4, 2024 23:59
@emdoyle emdoyle merged commit 4c8d0b2 into main Aug 5, 2024
7 checks passed
@emdoyle emdoyle deleted the report-external-deps branch August 5, 2024 00:01
@devstein
Copy link

devstein commented Aug 5, 2024

@emdoyle 🙇‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants