A tool to backup and migrate Python packages
Project description
pip-migrate
pip-migrate is a Python command-line tool that simplifies the process of backing up and migrating Python packages. This tool allows you to create a backup of your installed packages, and later, after installing a new Python environment, restore those packages with ease.
Features
- Backup Packages: Create a backup of your currently installed Python packages.
- Migrate Packages: Restore your packages on a new Python environment.
- Clean Up: Remove the backup and list the migrated packages.
- Progress Bar: Visualize the backup and migration progress with a progress bar.
- Better Logging: Improved logging with error messages and successes recorded in a log file.
- Backup Location Customization: Customize the backup file location.
- Dependency Resolution: Handle package dependencies during migration.
- Append Migration Packages: Append packages to migrate by providing a comma-separated list.
Installation
You can install pip-migrate using pip:
pip install pip-migrate
Usage
Create a Backup
Before installing a new version of Python or making major changes, create a backup of your existing packages.
pip-migrate before
Migrate Packages
After setting up your new Python environment, use the following command to migrate your packages from the backup:
pip-migrate after
You can also append additional packages to migrate:
pip-migrate after package1,package2,package3
Cleanup
If you want to remove the backup and list the migrated packages, you can use the following command:
pip-migrate cleanup
Contributing
If you would like to contribute to this project, please check the CONTRIBUTING.md file for guidelines.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Ronnyisalreadydead (crushr3sist)
Support
If you encounter any issues or have questions, please open an issue on the GitHub repository.
GitHub Repository
Keywords: pip, migrate, backup, restore, python packages, utility, tool
GitHub stars
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for pip_migrate-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11baca58e64fbff98ca384335940d769b66e245e8c03b70af57de24925638eda |
|
MD5 | a71cf1c80c7e767bef667efc01315169 |
|
BLAKE2b-256 | a6fa93fc09af5ffcd725524186d87e7ef817a8cd58b64abbcfadf3f585656879 |