tool for migrating to the uv package manager
This project is not associated with astral or the uv project in anyway
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.
easy install script, source located at install.sh
curl https://files.stvnksslr.com/uv-migrator/install.sh | bashInstall via Cargo
cargo install uv-migrator✅ Poetry projects
✅ Pip projects
✅ Multiple requirements files
✅ Auto detect development dependencies and dependency groups
✅ Custom package indexes with named configurations
✅ Pipenv support
Package Formats
✅ setup.py packages
✅ poetry packages
✅ anaconda
…UV Migrator supports custom package indexes with named configurations. You can specify custom names for your indexes using the [name@]url format:
# Add a named index
uv-migrator . --import-index mycompany@https://pypi.mycompany.com/simple/
# Add multiple named indexes
uv-migrator . --import-index torch@https://download.pytorch.org/whl/cu118 \
--import-index internal@https://internal.company.com/pypi/This will generate:
[tool.uv]
index = [
{ name = "torch", url = "https://download.pytorch.org/whl/cu118" },
{ name = "internal", url = "https://internal.company.com/pypi/" }
]@ symbol separates the name from the URLNo open issues yet, or sync has not completed.