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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pip-migrate-1.0.2.tar.gz.
File metadata
- Download URL: pip-migrate-1.0.2.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f70cd307220b67aa956004781b5a527e38a7e6566e27a3133de54b7ccd92ceb0
|
|
| MD5 |
c84cb7af1b13c56427bfb3b16ef3a5bb
|
|
| BLAKE2b-256 |
2c822e0e510855451a61ee1a7202f3972cdaf5a51e2a9821d593ce7d72d07e37
|
File details
Details for the file pip_migrate-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pip_migrate-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e207d4e66edab1d29a0e0662bc8d9763e0ec5aa61cf63a4ca4e7f357e17b05a
|
|
| MD5 |
2a0e8fe2ab173a3c811e2e1e9798bb19
|
|
| BLAKE2b-256 |
e6e09f63f8101ad2e2bb2bde905c45f4a73b0a884eed191837a0645c9e3a1f35
|