A simple yet powerful Python utility that helps you keep your environment up to date by automatically listing and upgrading all installed pip packages.
- ✅ Lists all installed pip packages
- ✅ Saves them into
installed_packages.txt
for reference - ✅ Automatically upgrades each package to the latest version
- ✅ Lightweight & easy to use
git clone https://github.com/Abdelwakil-Mansour/python-libs-updater.git
cd update_libs
python update_libs.py
- Installed packages are saved in
installed_packages.txt
- The script reads package names from the file
- Each package is upgraded using pip
- Python 3.x
- pip (Python package manager)
- Run the script in an environment where you have permission to upgrade packages.
- To avoid breaking system-wide packages, it’s highly recommended to use a virtual environment.
This script upgrades all installed packages. Some projects may experience compatibility issues after upgrading.
Use at your own risk and always test your environment after updates.
Contributions are welcome! If you’d like to improve this script:
- Fork the repository
- Create a feature branch
- Submit a pull request
This project is licensed under the MIT License – feel free to use and modify.