Skip to main content

An intelligent, feature-rich CLI tool to manage and upgrade Python packages with dependency analysis.

Project description

Ultimate Python Upgrader (py-upgrade)

PyPI version CI

An intelligent, feature-rich CLI tool to manage and upgrade Python packages with a clean, modern interface and a powerful dependency safety-check.

Key Features

  • Intelligent Dependency Analysis: Automatically performs a pre-flight check to detect and warn you about potential dependency conflicts before you upgrade, preventing broken environments.
  • Concurrent & Fast: Upgrades packages in parallel using multiple workers, dramatically reducing the time you spend waiting.
  • Rich & Interactive UI: Uses rich to display outdated packages in a clean, readable table with clear progress bars.
  • Selective Upgrades: Upgrade all packages, or specify exactly which ones to include or exclude.
  • Safety First: Includes a --dry-run mode to see what would be upgraded without making any changes.
  • Automation Friendly: A --yes flag allows for use in automated scripts.

Installation

The tool is available on PyPI. Install it with pip:

pip install ultimate-python-upgrader

Usage

Once installed, the py-upgrade command will be available.

1. Check and upgrade all packages interactively The tool will first check for dependency conflicts before asking to proceed.

py-upgrade

2. Upgrade with more parallel workers

py-upgrade --yes --workers 20

3. Perform a dry run to see what needs upgrading

py-upgrade --dry-run

4. Upgrade only specific packages

py-upgrade numpy pandas

5. Upgrade all packages EXCEPT certain ones

py-upgrade --exclude black ruff

Contributing

Contributions are welcome! Please feel free to submit a pull request.

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

ultimate_python_upgrader-1.2.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

ultimate_python_upgrader-1.2.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file ultimate_python_upgrader-1.2.0.tar.gz.

File metadata

  • Download URL: ultimate_python_upgrader-1.2.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for ultimate_python_upgrader-1.2.0.tar.gz
Algorithm Hash digest
SHA256 779c4b2bfc7b21c44058a8aadecb9559f0744d5fbc41728efc5c9df863c29a36
MD5 3c7b8f080370afa7ff5de5db7460b3ee
BLAKE2b-256 5e1c3388d8d3a39c51143903717e1554a99ed277007329d533a75980a79fb369

See more details on using hashes here.

File details

Details for the file ultimate_python_upgrader-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ultimate_python_upgrader-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6830d80d184afe8e86e7236dbe25ac999c87e50928223eb94a2f34dcb6d7ac1
MD5 e78c41ec50932cbac5fba3a4cdaa2fd0
BLAKE2b-256 42a787b8f0a9c264c407e60e74495207d05c5eccec4a918334a78730b9331b96

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