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

migrate-to-uv

> 包管理
开源

将项目从 Poetry/Pipenv/pip-tools/pip 迁移到 uv 包管理器

1.2K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

将项目从 Poetry/Pipenv/pip-tools/pip 迁移到 uv 包管理器

migrate-to-uv

migrate-to-uv migrates a project to uv from another package manager.

Usage

bash
# With uv
uvx migrate-to-uv

# With pipx
pipx run migrate-to-uv

Installation

bash
# To install migrate-to-uv as a PyPI package, run either
uv tool install migrate-to-uv

# ...or
pipx install migrate-to-uv

# And in case you need to build from Rust source code yourself, then go with
cargo install --git https://github.com/osprey-oss/migrate-to-uv

Supported package managers

The following package managers are supported:

  • Poetry (including projects using PEP 621 in Poetry 2.0+)
  • Pipenv
  • pip-tools
  • pip

More package managers (e.g., setuptools) could be implemented in the future.

Features

migrate-to-uv converts most existing metadata from supported package managers when migrating to uv, including:

  • Project metadata (name, version, authors, ...)
  • Dependencies and optional dependencies
  • Dependency groups
  • Dependency sources (index, git, URL, path)
  • Dependency markers
  • Entry points

Version definitions set for dependencies are also preserved, and converted to their equivalent PEP 440 for package managers that use their own syntax (for instance Poetry's caret syntax).

At the end of the migration, migrate-to-uv also generates uv.lock file with uv lock command to lock dependencies, and keeps dependencies (both direct and transitive) to the exact same versions they were locked to with the previous package manager, if a lock file was found.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

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

> 标签

Rustpippip-toolspipenvpoetry

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

> 工具信息

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

> 相关工具

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