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 Distribution
Built Distribution
Hashes for pip_migrate-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e207d4e66edab1d29a0e0662bc8d9763e0ec5aa61cf63a4ca4e7f357e17b05a |
|
MD5 | 2a0e8fe2ab173a3c811e2e1e9798bb19 |
|
BLAKE2b-256 | e6e09f63f8101ad2e2bb2bde905c45f4a73b0a884eed191837a0645c9e3a1f35 |