# 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](https://img.shields.io/github/license/crushr3sist/pip-migrate)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/crushr3sist/pip-migrate)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/crushr3sist/pip-migrate/CI)
## 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:
```bash
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.
```bash
pip-migrate before
```
### Migrate Packages
After setting up your new Python environment, use the following command to migrate your packages from the backup:
```bash
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:
```bash
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](https://img.shields.io/github/stars/crushr3sist/pip-migrate?style=social)
Raw data
{
"_id": null,
"home_page": "https://github.com/crushr3sist/pip-migrate",
"name": "pip-migrate",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "pip migrate backup restore python packages utility tool",
"author": "Rohaan Ahmed",
"author_email": "silent.death3500@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2c/82/2e0e510855451a61ee1a7202f3972cdaf5a51e2a9821d593ce7d72d07e37/pip-migrate-1.0.2.tar.gz",
"platform": null,
"description": "# pip-migrate\r\n\r\n**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.\r\n\r\n![GitHub](https://img.shields.io/github/license/crushr3sist/pip-migrate)\r\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/crushr3sist/pip-migrate)\r\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/crushr3sist/pip-migrate/CI)\r\n\r\n## Features\r\n\r\n- **Backup Packages**: Create a backup of your currently installed Python packages.\r\n- **Migrate Packages**: Restore your packages on a new Python environment.\r\n- **Clean Up**: Remove the backup and list the migrated packages.\r\n- **Progress Bar**: Visualize the backup and migration progress with a progress bar.\r\n- **Better Logging**: Improved logging with error messages and successes recorded in a log file.\r\n- **Backup Location Customization**: Customize the backup file location.\r\n- **Dependency Resolution**: Handle package dependencies during migration.\r\n- **Append Migration Packages**: Append packages to migrate by providing a comma-separated list.\r\n\r\n## Installation\r\n\r\nYou can install **pip-migrate** using pip:\r\n\r\n```bash\r\npip install pip-migrate\r\n```\r\n\r\n## Usage\r\n\r\n### Create a Backup\r\n\r\nBefore installing a new version of Python or making major changes, create a backup of your existing packages.\r\n\r\n```bash\r\npip-migrate before\r\n```\r\n\r\n### Migrate Packages\r\n\r\nAfter setting up your new Python environment, use the following command to migrate your packages from the backup:\r\n\r\n```bash\r\npip-migrate after\r\n```\r\n\r\nYou can also append additional packages to migrate:\r\n\r\n```\r\npip-migrate after package1,package2,package3\r\n```\r\n\r\n### Cleanup\r\n\r\nIf you want to remove the backup and list the migrated packages, you can use the following command:\r\n\r\n```bash\r\npip-migrate cleanup\r\n```\r\n\r\n## Contributing\r\n\r\nIf you would like to contribute to this project, please check the CONTRIBUTING.md file for guidelines.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the LICENSE file for details.\r\n\r\n## Author\r\n\r\nRonnyisalreadydead (crushr3sist)\r\n\r\n## Support\r\n\r\nIf you encounter any issues or have questions, please open an issue on the GitHub repository.\r\n\r\n## GitHub Repository\r\n\r\nKeywords: pip, migrate, backup, restore, python packages, utility, tool\r\n\r\n## GitHub stars\r\n\r\n![Repo Stars](https://img.shields.io/github/stars/crushr3sist/pip-migrate?style=social)\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A tool to backup and migrate Python packages",
"version": "1.0.2",
"project_urls": {
"Homepage": "https://github.com/crushr3sist/pip-migrate"
},
"split_keywords": [
"pip",
"migrate",
"backup",
"restore",
"python",
"packages",
"utility",
"tool"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e6e09f63f8101ad2e2bb2bde905c45f4a73b0a884eed191837a0645c9e3a1f35",
"md5": "2a0e8fe2ab173a3c811e2e1e9798bb19",
"sha256": "3e207d4e66edab1d29a0e0662bc8d9763e0ec5aa61cf63a4ca4e7f357e17b05a"
},
"downloads": -1,
"filename": "pip_migrate-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2a0e8fe2ab173a3c811e2e1e9798bb19",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4083,
"upload_time": "2023-10-20T06:37:04",
"upload_time_iso_8601": "2023-10-20T06:37:04.630419Z",
"url": "https://files.pythonhosted.org/packages/e6/e0/9f63f8101ad2e2bb2bde905c45f4a73b0a884eed191837a0645c9e3a1f35/pip_migrate-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c822e0e510855451a61ee1a7202f3972cdaf5a51e2a9821d593ce7d72d07e37",
"md5": "c84cb7af1b13c56427bfb3b16ef3a5bb",
"sha256": "f70cd307220b67aa956004781b5a527e38a7e6566e27a3133de54b7ccd92ceb0"
},
"downloads": -1,
"filename": "pip-migrate-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "c84cb7af1b13c56427bfb3b16ef3a5bb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3707,
"upload_time": "2023-10-20T06:37:06",
"upload_time_iso_8601": "2023-10-20T06:37:06.012610Z",
"url": "https://files.pythonhosted.org/packages/2c/82/2e0e510855451a61ee1a7202f3972cdaf5a51e2a9821d593ce7d72d07e37/pip-migrate-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-20 06:37:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "crushr3sist",
"github_project": "pip-migrate",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "pip-migrate"
}