This utility provides a streamlined way to manage and update your pip packages in batches. It also includes scripts to add pip_update to the system environment, allowing the user to easily update pip packages from anywhere within the console.
| .gitignore
| LICENSE
| pyproject.toml
| README.md
| requirements.txt
|
+---docs
| pip_config.md
| powershell_profile.md
| TODO.md
|
+---out
| output.txt
|
\---src
| main.py
| pip_batch_update.py
| version.py
| __init__.py
|
+---data
| pip_help_commands.txt
|
+---logs
| log_0.txt
| log_1.txt
|
+---scripts
| build_and_push.sh
| create_structure.sh
| pip_update.ps1
| pip_update.sh
|
\---utils
get_pip_cmds.py
log_utils.py
__init__.py-
Ensure you have Python installed on your machine.
-
Clone this repository to your local machine.
-
Navigate to the
scriptsdirectory. -
Execute the appropriate script for your system (
pip_update.ps1for PowerShell orpip_update.shfor bash) to addpip_updateto the system environment.# For PowerShell ./pip_update.ps1 # For bash ./pip_update.sh
-
Once
pip_updatehas been added to the system environment, simply run the following command to update your pip packages in batches:pip_update
-
Additional utility scripts are provided in the
src/utilsdirectory:get_pip_cmds.py: Provides utilities for fetching pip command listings and obtaining help documentation for each command.log_utils.py: Contains alogrotatefunction to handle log rotation in the specifiedlogsdirectory.
Refer to the LICENSE file for license rights and limitations.