Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stvnksslr/uv-migrator
tool for migrating to the python uv project
https://github.com/stvnksslr/uv-migrator
package-management package-manager pipenv poetry poetry-python python rust uv
Last synced: 8 days ago
JSON representation
tool for migrating to the python uv project
- Host: GitHub
- URL: https://github.com/stvnksslr/uv-migrator
- Owner: stvnksslr
- Created: 2024-09-29T22:27:45.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-03T01:12:20.000Z (19 days ago)
- Last Synced: 2025-01-03T01:36:42.987Z (19 days ago)
- Topics: package-management, package-manager, pipenv, poetry, poetry-python, python, rust, uv
- Language: Rust
- Homepage: https://crates.io/crates/uv-migrator
- Size: 432 KB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# UV Migrator
## Disclaimer
This project is not associated with astral or the uv project in anyway
## What is it?
UV Migrator is simple cli tool designed to seamlessly transition Python projects from various dependency management systems to the UV package manager.
It handles the complexities of migration while preserving your project's dependencies and any existing configs. This project currently supports migrating
applications that consume packages, stay tuned for support for migrating packages themselves.## Installation
easy install script, source located at [install.sh](https://github.com/stvnksslr/uv-migrator/blob/main/install.sh)
```sh
curl https://uv-migrator.stvnksslr.com/install.sh | bash
```Install via Cargo
```sh
cargo install uv-migrator
```## Currently Supported
✅ Poetry projects
✅ Pip projects
✅ Multiple requirements files
✅ Auto detect development dependencies and dependency groups
✅ Custom package indexes
✅ Pipenv supportPackage Formats
✅ setup.py## Coming Soon
Package formats
🔄 poetry package support
🔄 anaconda projects## Usage
```sh
Usage: uv-migrator [OPTIONS] [PATH]Arguments:
[PATH] The path to the project directory to migrateOptions:
--merge-groups Merge all dependency groups into the dev group
--import-global-pip-conf Import extra index URLs from ~/.pip/pip.conf
--import-index Additional index URL to import
--self-update Update uv-migrator to the latest version
-h, --help Print help (see more with '--help')
-V, --version Print versionEXAMPLES:
# Migrate a project in the current directory
uv-migrator .# Merge all dependency groups into dev dependencies
uv-migrator . --merge-groups# Migrate a project with a private package index
uv-migrator . --import-index https://private.pypi.org/simple/# Migrate using global pip configuration
uv-migrator . --import-global-pip-conf# Update uv-migrator to the latest version
uv-migrator --self-updateFor more information and documentation, visit:
https://github.com/stvnksslr/uv-migrator
```