Skip to main content

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.

GitHub GitHub release (latest by date) GitHub Workflow Status

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

Repo Stars

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip-migrate-1.0.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pip_migrate-1.0.2-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page