Skip to content
🗽 Like yarn outdated/upgrade, but for pip. Automate your Python Dependency Management.
Python Makefile Shell Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github feat: Add interactive mode Jan 23, 2019
.vscode Added test cases Sep 1, 2019
ci/scripts ci: Remove DOCKER_HUB_REPONAME Jan 15, 2019
docker feat: Add interactive mode Jan 23, 2019
docs/source docs: Added documentation using sphinx Feb 10, 2019
requirements chore: Added twine for release Jun 6, 2019
src/pipupgrade Bumped to version 1.5.2 Sep 16, 2019
tests fixed #38 Sep 15, 2019
.appveyor.yml ci: Fix appveyor.yml; remove detox Jan 14, 2019
.dockerignore fix: Use safe decode for reading long description Jan 14, 2019
.gitignore Added test cases Sep 1, 2019
.pre-commit-config.yaml docs: Updated README.md Jan 23, 2019
.releaserc ci: Fix commit message for chore(release) Jan 3, 2019
.travis.yml ci: Perform Docker Deploy and PyPI deploy together Jan 15, 2019
AUTHORS.md feat: Production Ready Docker Image Jan 14, 2019
Dockerfile Added test cases Sep 1, 2019
LICENSE Bumped to Version 0.1.0 Aug 29, 2018
MANIFEST.in fix: Add tests to MANIFEST.in Feb 10, 2019
Makefile chore: Added twine within makeile Jun 6, 2019
Pipfile fix: Fix security issues for pipfile Jun 6, 2019
Pipfile.lock updated project Sep 16, 2019
README.md fixed use ansi Sep 16, 2019
requirements-dev.txt updated project Sep 16, 2019
requirements.txt fix: Refactored update_registry, more verbose output Jun 7, 2019
setup.cfg test: Potential Fix for tests cases May 9, 2019
setup.py fix: Regenerated requirements-dev.txt, fixed setup.py warning for cla… Feb 7, 2019
tox.ini test: fix tox May 9, 2019

README.md

pipupgrade

The missing command for pip

Table of Contents

Features

  • Updates system packages and local packages.
  • Discovers packages present within multiple Python Environments.
  • Updates packages mentioned within a requirements.txt file (Also pins up-to-date versions if mentioned).
  • Smart requirements.txt detector.
  • Pipfile support.
  • Detects semantic version to avoid updates that break changes.
  • Parallel updates (blazingly fast).
  • Python 2.7+ and Python 3.4+ compatible. Also pip 9+, pip 10+, pip 18+ and pip 19.0.1+ compatible.
  • Automate your Dependencies by installing pipupgrade in your CI workflow.
  • Zero Dependencies!

Installation

$ pip install pipupgrade

Usage

Basic Usage

Upgrades all the packages across all detected pip environments.

Upgrades pipupgrade.

Upgrades all the packages within the defined pip environment.

Checks and pretty prints outdated packages (Does not perform upgrades).

WARNING: Upgrades all packages (including the ones that break change).

Prompts confirmation dialog for each package to be upgraded.

Upgrades the requirements file (if required).

Upgrades the Pipfile and Pipfile.lock file (if required).

Upgrades all the requirements file and/or Pipfile/Pipfile.lock within a project directory.

That's basically it! Run the help for more details...

$ pipupgrade --help
usage: pipupgrade [--pip-path PIP_PATH] [-y] [-c] [-l] [-s] [-r REQUIREMENTS]
                  [--pipfile PIPFILE] [-i] [-p PROJECT]
                  [--git-username GIT_USERNAME] [--git-email GIT_EMAIL]
                  [--pull-request] [--github-access-token GITHUB_ACCESS_TOKEN]
                  [--github-reponame GITHUB_REPONAME]
                  [--github-username GITHUB_USERNAME]
                  [--target-branch TARGET_BRANCH] [-j JOBS] [-u]
                  [--no-included-requirements] [--no-cache] [--no-color] [-V]
                  [-v] [-h]

pipupgrade (v 1.5.1)

UPGRADE ALL THE PIP PACKAGES!

optional arguments:
  --pip-path PIP_PATH   Path to pip executable to be used. (default: None)
  -y, --yes             Confirm for all dialogs. (default: False)
  -c, --check           Check for outdated packages. (default: False)
  -l, --latest          Update all packages to latest. (default: False)
  -s, --self            Update pipupgrade. (default: False)
  -r REQUIREMENTS, --requirements REQUIREMENTS
                        Path(s) to requirements.txt file. (default: None)
  --pipfile PIPFILE     Path(s) to Pipfile (default: None)
  -i, --interactive     Interactive Mode (default: False)
  -p PROJECT, --project PROJECT
                        Path(s) to Project (default: None)
  --git-username GIT_USERNAME
                        Git Username (default: None)
  --git-email GIT_EMAIL
                        Git Email (default: None)
  --pull-request        Perform a Pull Request (default: False)
  --github-access-token GITHUB_ACCESS_TOKEN
                        GitHub Access Token (default: None)
  --github-reponame GITHUB_REPONAME
                        Target GitHub Repository Name (default: None)
  --github-username GITHUB_USERNAME
                        Target GitHub Username (default: None)
  --target-branch TARGET_BRANCH
                        Target Branch (default: master)
  -j JOBS, --jobs JOBS  Number of Jobs to be used. (default: 4)
  -u, --user            Install to the Python user install directory for
                        environment variables and user configuration.
                        (default: False)
  --no-included-requirements
                        Avoid updating included requirements (default: False)
  --no-cache            Avoid fetching latest updates from PyPI server.
                        (default: False)
  --no-color            Avoid colored output. (default: False)
  -V, --verbose         Display verbose output. (default: False)
  -v, --version         Show pipupgrade's version number and exit.
  -h, --help            Show this help message and exit.

Similar Packages

pipupgrade attempts to provide an all-in-one solution as compared to the following packages:

Known Issues

License

This repository has been released under the MIT License.


Made with ❤️ using boilpy.
You can’t perform that action at this time.