Skip to content

A small command-line tool for automatically updating outdated pip packages.

License

Notifications You must be signed in to change notification settings

MurdoMaclachlan/pipupdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pipupdater

This is a small command-line tool designed for automatically updating outdated pip packages. The basic functionality is to use the output of pip list --outdated to update any out-of-date packages.

This tool doesn't account for dependency conflicts and doesn't yet have any functionality for tracking what dependencies pip might have updated or installed itself.

Requirements & installation

pipupdater can be installed by downloading the .tar.gz or .whl asset from the latest release and instructing pip to install the package, like so: pip install pipupdater-x.y.z.tar.gz. It can be updated in the same way, passing the -U argument to the installation command.

You can run the program simply by entering pipupdater in the console; it will run the pip list --outdated command as a subprocess to see which packages are out of date, and then proceed to update them. Any packages that fail to be updated will show up as error logs.

pipupdater's logs go to ~/.config/pipupdater/logs on Linux and macOS, and %APPDATA%\Roaming\pipupdater\logs on Windows.

Roadmap

Here's a list of things I plan to add or at least look into adding:

  • Include dependencies pip installs/updates in log of updated packages
  • A log message when no packages need updated (at the moment it just looks like nothing happened)
  • A proper setup file
  • Allow running as a single command
  • Properly capture & hide terminal output from pip commands
  • User config options
  • Dependency conflict management? (maybe) (possibly)

About

A small command-line tool for automatically updating outdated pip packages.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages