Skip to main content

Update Pip and App Packages

v0.1.4

Python application Maintainability Test Coverage

This Python script provides an efficient way to update Pip and app packages on various Linux distributions. The script supports Ubuntu, Debian, Fedora, CentOS, Red Hat, Arch, Manjaro, OpenSUSE, and SUSE distributions. It updates packages using the appropriate package manager for each distribution.

I know this script may seem useless. Moreover, updating all pip packages can lead to challenges in some projects. This script is only a part of my self-education journey.

Features

  • Update Pip and its packages to the latest versions.
  • Update app packages for supported Linux distributions using the corresponding package manager.
  • Command-line interface with options for updating Pip packages, app packages, or both.

Usage

To use the script, run the following command with the desired options:

update-pip-packages [--pip] [--app]
  • -h, --help: Show this help message and exit
  • --pip: Update Pip packages.
  • --app: Update app packages.
  • -v, --version: Display the version of the package
  • If no options are provided, the script will display help information.

Tests

The tests cover various aspects of the script, including the following:

  • Getting the Linux distribution.
  • Updating Pip packages.
  • Updating app packages for each supported Linux distribution.
  • Handling unsupported Linux distributions.

Dependencies

Installation

From PyPi.org

In Linux:

pip install update-pip-packages

or

python3 -m pip install update-pip-packages

GitHub Repository

For more information, source code, and installation instructions, please visit the GitHub repository: GitHub: update-pip-packages

Remarks

There is also a bash script. I started with it and developed it into this Python project. It does not support Linux distribution detection, but you can use it for the same purposes as the main(python) application in a Debian or Ubuntu environment.

Metadata

Release files for update-pip-packages 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for update-pip-packages 0.1.4
File Size Uploaded Provenance Actions
update_pip_packages-0.1.4.tar.gz 3.5 kB Without provenance Details for update_pip_packages-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for update-pip-packages 0.1.4
File Interpreter ABI Platform Actions
update_pip_packages-0.1.4-py3-none-any.whl Python 3 none any Details for update_pip_packages-0.1.4-py3-none-any.whl

Total release size: 8.0 kB

Release files / update_pip_packages-0.1.4.tar.gz

Download URL update_pip_packages-0.1.4.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cec60892af9fe8653f15bfc394f9c9c42c6e757a018cd647434ad4ac9c789724
BLAKE2b-256 checksum
How to use checksums
61b27a19149f035ab7b297fec5dcafb8a32fdd72adc333b5e987f8034b2d7574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2

Release files / update_pip_packages-0.1.4-py3-none-any.whl

Download URL update_pip_packages-0.1.4-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f85553d7d31528cf9ef0f2b6be003d82fa753ea37bd30d1288d244cad9b1eb8f
BLAKE2b-256 checksum
How to use checksums
15d31ad017feabe32069467b948786280db86aa1ad11e692e43fe9432cf8c0ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2

Security for update-pip-packages 0.1.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page