osprey-oss/migrate-to-uv
소개
프로젝트를 Poetry/Pipenv/pip-tools/pip에서 uv 패키지 관리자로 마이그레이션합니다.
개발 도구What you can do
- Project metadata (name, version, authors, ...)
- Dependencies and optional dependencies
- Dependency groups
- Dependency sources (index, git, URL, path)
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- +3
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalmigrate-to-uv
migrate-to-uv migrates a project to uv from another package manager.
Usage
# With uv
uvx migrate-to-uv
# With pipx
pipx run migrate-to-uv
Installation
# 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.
관련 프로젝트 살펴보기
불러오는 중…