No project description provided
Project description
Update Pip and App Packages
v0.1.3
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
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.
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
Built Distribution
Hashes for update_pip_packages-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8247ec36e19c2f58593a36763886e6af39728348cf2e6e4fb58c90a4295aef80 |
|
MD5 | 9acc061fb822e2f85794ceb5c262c333 |
|
BLAKE2b-256 | 7c93f79e00ef50462f3e75299f80d5b54edf5aa8c55a4e86a68a61e29af14cc2 |
Hashes for update_pip_packages-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e60fc8217d38f68fa1a870dfeb098b5780694c9e3d62bd008f5f933a849c77f3 |
|
MD5 | d8a60db4108e31d1f3f7cfe9ab02ab41 |
|
BLAKE2b-256 | c3375ef3fa4a5da2508d1b5a47c0410dfcad7ab12e2b4c697e06a59fc9a5c683 |