Skip to main content

A tool to upgrade all outdated Python packages to their latest versions

Project description

pip-upgrade

Simple command line tool to upgrade all Python packages to the latest version.

Install

pip install pip-upgrade

Usage

Run the basic command:

pip-upgrade

Or use with options:

# Skip some packages when upgrading
pip-upgrade --skip package1 package2

# Disable concurrent upgrade
pip-upgrade --no-concurrent

# Specify the number of workers for concurrent upgrade
pip-upgrade --workers 3

# Specify the maximum version to upgrade to
pip-upgrade --max-version 2.0.0

# Save upgrade report to a file
pip-upgrade --report report.txt

# Save logs to a file
pip-upgrade --log log.txt

Features

  • 🔄 Automatically detect outdated packages
  • ⚡ Upgrade multiple packages concurrently (default)
  • 🎯 Skip specific packages
  • 📊 Display progress and summary details
  • 📝 Generate detailed upgrade reports
  • 📋 Save logs to file
  • 🛡️ Handle errors and dependencies safely
  • 🎨 Command line interface with emoji

Requirements

  • Python 3.10 or higher
  • pip

Command line parameters

--skip, -s         List of packages to skip when upgrading
--no-concurrent    Disable concurrent upgrade
--workers, -w      Number of workers for concurrent upgrade (default: 5)
--max-version, -m  Maximum version to upgrade to (e.g. 2.0.0)
--log, -l          Path to log file
--report, -r       Path to save upgrade report

License

This project is licensed under the MIT License - see the LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip_upgrade_all-0.1.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pip_upgrade_all-0.1.4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pip_upgrade_all-0.1.4.tar.gz.

File metadata

  • Download URL: pip_upgrade_all-0.1.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pip_upgrade_all-0.1.4.tar.gz
Algorithm Hash digest
SHA256 34698287e43534f80d93b9a0d151bd061a207c3c0a344098397cd542aeabd498
MD5 5fa4addadf511120fe5d5ebc152bdf32
BLAKE2b-256 76146f4dbf0d3923f5ea8c02cf9dde523be86977cd1ec2450ac12fb9404260ae

See more details on using hashes here.

File details

Details for the file pip_upgrade_all-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pip_upgrade_all-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cc4102aa181562096616c1ce44265bf37d9fe5398625988f97b6aae527d73f52
MD5 6d99555dd5ed70f5c3f0282007fcfc0f
BLAKE2b-256 a7fc95ab788a063fcef5b0994d2ff19d5e6d49dbf0b00695a857a9d457c173a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page