Skip to main content

An easy tool for upgrading all of your packages while not breaking dependencies

Project description

pip-box

The purpose of pip-box is to be a simple yet robust and reliable tool for upgrading all of your packages while not breaking dependencies

Installation

pip install pip-box

or

git clone https://github.com/realiti4/pip-upgrade.git
cd pip-box
pip install .

Usage

Just run pip-box or pip-upgrade in your terminal while virtualenv is active.

$ pip-box

If there are packages you want to exclude use -e or --exclude. The tool won't upgrade dependency breaking packages already, this is extra for packages that you want to keep it at a version.

$ pip-box -e numpy pandas
Checking outdated packages...
These packages will be upgraded: ['colorama', 'isort']
Continue? (y/n): y
All packages are up to date! 🎉

Tip: You can use -e to exclude packages in Continue? (y/n): after seeing which packages are going to be upgraded.

These packages will be upgraded: ['hypothesis', 'Pillow', 'pytest', 'setuptools']
Continue? (y/n): -e pytest hypothesis

Options

  • pip-box -e Exclude packages you don't want to upgrade. Can take multiple or single value.
  • pip-box --local By default locally installed editable packages (installed with pip install . -e) won't be upgraded. Use this option to upgrade everything.
  • pip-box --novenv By default the tool won't work if virtualenv is not active. Use this if you want use it globally and pass the assertion error.

TODO - known issues

  • Feature - Query dependency informations of a package from pypi servers.

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-box-0.4.5.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

pip_box-0.4.5-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pip-box-0.4.5.tar.gz.

File metadata

  • Download URL: pip-box-0.4.5.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pip-box-0.4.5.tar.gz
Algorithm Hash digest
SHA256 b598bb385b040c389fedec37f78cecf1e85e9bf5603610516753ec80f9a3c9fa
MD5 e2c3eaaf2e178d8b7caa4353ca60510d
BLAKE2b-256 ccf20ceec2288af4b4a574b0b3b322ce847e3d2c13b18daa5939711e85356860

See more details on using hashes here.

File details

Details for the file pip_box-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: pip_box-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pip_box-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a57b9032dbfaeb0c8b4af4e06ef2665e786375d822c5f07a1d7f33e83d317c9e
MD5 0457982c992c41d87ba66c10c7e3de46
BLAKE2b-256 7626023eedf14ebb6bd67697d2598a5e414fa744350955f7216b167e00664856

See more details on using hashes here.

Supported by

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