百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
U

uv-migrator

> 包管理
开源

用于迁移到 UV 包管理器的工具

185 stars0 点赞5 次浏览
访问官网GitHub

工具介绍

用于迁移到 UV 包管理器的工具

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

bash
curl https://files.stvnksslr.com/uv-migrator/install.sh | bash

Install via Cargo

bash
cargo install uv-migrator

Currently Supported

✅ 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

Usage

…

Custom Index Configuration

UV Migrator supports custom package indexes with named configurations. You can specify custom names for your indexes using the [name@]url format:

Named Indexes

bash
# 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:

toml
[tool.uv]
index = [
    { name = "torch", url = "https://download.pytorch.org/whl/cu118" },
    { name = "internal", url = "https://internal.company.com/pypi/" }
]

Index Name Format

  • Names can contain letters, numbers, hyphens, and underscores
  • The @ symbol separates the name from the URL
  • If no name is provided, or the format is invalid, the URL is treated as unnamed

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustpackage-managementpackage-managerpipenvpoetry

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类包管理
定价开源

> 相关工具

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image