Skip to content

Commit

Permalink
Merge pull request #199 from sanderu/python_packages
Browse files Browse the repository at this point in the history
Get list and info about of Python packages installed via pip
  • Loading branch information
tclahr authored Feb 21, 2024
2 parents f391719 + 52b87eb commit b64201e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions artifacts/live_response/packages/pip.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 1.0
artifacts:
-
description: Display Python packages installed through pip.
supported_os: [linux]
collector: command
command: pip list
output_file: pip_list.txt
-
description: Display information about Python pip-packages.
supported_os: [linux]
collector: command
foreach: pip list | awk '{print $1}' | tail -n +3
command: pip show %line%
output_file: pip_show_%line%.txt

0 comments on commit b64201e

Please sign in to comment.