Skip to content

Instantly share code, notes, and snippets.

@ssebastianj
Last active December 21, 2016 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssebastianj/73032a3b5abb7a71554c37b3f8d5ab18 to your computer and use it in GitHub Desktop.
Save ssebastianj/73032a3b5abb7a71554c37b3f8d5ab18 to your computer and use it in GitHub Desktop.
python -c "import pip, pprint; pprint.pprint([pkg.get_entry_map().get('console_scripts', '') for pkg in pip.get_installed_distributions()])"
for pkg in $(pip list) ; do pip show --verbose $pkg 2>/dev/null | awk '/\[console_scripts\]/,/\=/' | sed -n '2,$p' ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment