Updates all packages with pip in an environment - no dependencies
Tested against Windows 10 / Anaconda / Python 3.9.16
pip install pipuptodate
# How does it work
# 1) it creates a backup of the env if backupwholeenv is True
# 2) it downloads the wheels of all current installed packages if backuppackages is True
# 3) it does a dry run to get the highest compatible version and to resolve conflicts:
# install --dry-run --progress-bar off --upgrade --upgrade-strategy eager --ignore-installed
# 4) it downloads the results from the dry run to download_folder
# 5) it installs the downloaded files
# How to use it
from pipuptodate import update_pip_packages, restore_old_packages
update_pip_packages(
download_folder="c:\\myupdatefolder21", # all backups and the wheels of the new packages are stored here. Don't delete this folder. If anything goes wrong, you can restore the backup
backuppackages=True, # downloads all wheels from installed packages with the right version number
backupwholeenv=True, # makes a copy of all files in the env
)
# If something went wrong, you can install the previous versions:
restore_old_packages(
requirementstxt="c:\\myupdatefolder21\backup\requirementsbackup.txt", # created when you executed: update_pip_packages(...backuppackages=True)
folder="c:\\myupdatefolder21\backup", # the downloaded wheels
Metadata
Release files for pipuptodate 0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pipuptodate-0.10.tar.gz | 5.3 kB | Without provenance | Details for pipuptodate-0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pipuptodate-0.10-py3-none-any.whl | Python 3 | none | any | Details for pipuptodate-0.10-py3-none-any.whl |
Total release size: 12.2 kB
Release files / pipuptodate-0.10.tar.gz
| Download URL | pipuptodate-0.10.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
244db19984b57165d38d16553d6fc2b264d20470d157ab4ccf7f873becf0ecfe
|
|
BLAKE2b-256 checksum How to use checksums |
76f5a7506c3832632b43492552f4d1bed04370a150cfc28e670004c36ce10814
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pipuptodate-0.10-py3-none-any.whl
| Download URL | pipuptodate-0.10-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab8cf920e5f06bb70a6d43bd84723a80de186345d5c9eee011cfa5a5ef14ad02
|
|
BLAKE2b-256 checksum How to use checksums |
0a71317f96db5c3a9a60bf188e759f38181198eeebed992d7d6db0d938a60f28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for pipuptodate 0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.