Skip to content

Instantly share code, notes, and snippets.

@wogsland
Last active February 4, 2017 17:27
Show Gist options
  • Save wogsland/dc36a6fd126ea4d6a0a97d38228bf03a to your computer and use it in GitHub Desktop.
Save wogsland/dc36a6fd126ea4d6a0a97d38228bf03a to your computer and use it in GitHub Desktop.
// the "old" way
$ pip freeze > requirements.txt
// looks at imports in your codebase and only includes those in requirements
$ pipreqs
// find out what dependencies need updating
$ pip list --outdated
// why are these packages here?
$ pipdeptree --reverse
// package details on the cmd line
$ leak tensorflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment