{"library":"migrate-to-uv","title":"Migrate to uv","description":"migrate-to-uv is a command-line tool designed to help users transition their Python projects from traditional package managers like Poetry, Pipenv, or pip to `uv`'s `pyproject.toml` format. It aims to automate the conversion of project metadata, dependencies, and build configurations to be compatible with `uv`. The current version is 0.12.0, with new releases occurring regularly, often weekly or bi-weekly, to introduce features and address bugs.","language":"python","status":"active","last_verified":"Fri Apr 17","install":{"commands":["pip install migrate-to-uv"],"cli":{"name":"migrate-to-uv","version":"migrate-to-uv 0.12.0"}},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# Create a dummy Poetry project\nmkdir my-poetry-project\ncd my-poetry-project\npoetry init -n # Initialize without interaction\npoetry add requests\npoetry add black --group dev\n\n# Migrate the project to uv's pyproject.toml format\nmigrate-to-uv\n\n# You can now remove poetry related files\nrm poetry.lock pyproject.toml\n\n# If you check pyproject.toml, it should be updated for uv\n# You can then install dependencies with uv\n# uv sync\n\n# And run with uv\n# uv run python -c \"import requests; print(requests.__version__)\"","lang":"bash","description":"This quickstart demonstrates migrating a simple Poetry project to be compatible with `uv`'s `pyproject.toml` standards. It sets up a basic Poetry project, adds some dependencies, and then uses `migrate-to-uv` to convert its configuration. After migration, you would typically use `uv sync` to install dependencies.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}