{"id":28470303,"url":"https://github.com/lucianosrp/rye-uv","last_synced_at":"2025-08-13T22:15:39.319Z","repository":{"id":254499679,"uuid":"846724105","full_name":"lucianosrp/rye-uv","owner":"lucianosrp","description":"Simple CLI tool to migrate from Rye to Uv","archived":false,"fork":false,"pushed_at":"2025-05-28T12:21:15.000Z","size":25,"stargazers_count":27,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-01T17:45:04.568Z","etag":null,"topics":["python","rust","rye","uv"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucianosrp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-23T20:23:16.000Z","updated_at":"2025-06-29T09:09:17.000Z","dependencies_parsed_at":"2024-08-23T21:56:58.309Z","dependency_job_id":"47b72dbb-9dad-4115-919b-0aa0f889bd4c","html_url":"https://github.com/lucianosrp/rye-uv","commit_stats":null,"previous_names":["lucianosrp/rye-uv"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/lucianosrp/rye-uv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Frye-uv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Frye-uv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Frye-uv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Frye-uv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucianosrp","download_url":"https://codeload.github.com/lucianosrp/rye-uv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianosrp%2Frye-uv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270325278,"owners_count":24565028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","rust","rye","uv"],"created_at":"2025-06-07T09:10:35.271Z","updated_at":"2025-08-13T22:15:39.286Z","avatar_url":"https://github.com/lucianosrp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rye ➡️ Uv\nSince `v0.3.0`, uv can now handle python projects and packaging.\nIt is therefore very similar to what rye can do.\nAlthough rye will still be in active development, you may want to give uv a try since you probably have it already installed.\n\nThis tool aims to facilitate the transition from rye to uv.\nIt converts the `tool.rye` setttings in `pyproject.toml`  to `tool.uv` and make adjustments when needed.\n\n## Usage\n```\nUsage: rye-uv [OPTIONS] \u003cPYPROJECT\u003e\n\nArguments:\n  \u003cPYPROJECT\u003e  The path of the pyproject.toml file\n\nOptions:\n      --no-overwrite  Whether to overwrite the existing pyproject.toml - defaults to false\n      --no-backup     Don't create a backup file of the original rye config - defaults to false\n  -p, --print         Just print the output file\n  -h, --help          Print help\n  -V, --version       Print version\n```\n\nBy doing the default:\n\n```\nrye-uv pyproject.toml\n```\n1. The pyproject.toml file will be overwritten\n2. The original version of the file will be stored in `pyproject-rye.toml`\n\n```\nrye-uv pyproject.toml --no-overwrite\n```\n1. A new `pyproject-uv.toml` will be creared\n\n\n## How to install\n\n### With Cargo\n```\ncargo install rye-uv\n```\n\n### From source\nClone the repository and build using cargo\n```\ncargo build --release\n```\n\n## Conversion\n\nSome boolean values will be \"inverted\" to match.\n\\\nOther settings may need to be deleted in orther to make the pyproject.toml fully compatible.\n\\\nSee the table below for more.\n\n| rye setting | uv setting | rye docs | uv docs |  uv version | Inverted | Deleted\n| ----------- | ---------- | -------- | ------- | -------------- | --------|-----------| \n| `tool.rye`    | `tool.uv`    |  [Link](https://rye.astral.sh/guide/pyproject/#toolryeuniversal)     |   [Link](https://docs.astral.sh/uv/reference/settings/#pip_universal)      |  \u003e=0.3.0         |||\n| `tool.rye.universal`   | `tool.uv.pip.universal`    | [Link](https://rye.astral.sh/guide/pyproject/#toolryeuniversal)      |    [Link](https://docs.astral.sh/uv/reference/settings/#pip_universal)     |  \u003e=0.3.0         |||\n| `tool.rye.generate-hashes`  | `tool.uv.pip.generate-hashes`    | [Link](https://rye.astral.sh/guide/pyproject/#toolryegenerate-hashes)     |   [Link](https://docs.astral.sh/uv/reference/settings/#pip_generate-hashes)    |   \u003e=0.3.0         |||\n| `tool.rye.lock-with-sources`  | `tool.uv.no-source`    | [Link](https://rye.astral.sh/guide/pyproject/#toolryegenerate-hashes)     |   [Link](https://docs.astral.sh/uv/reference/settings/#pip_generate-hashes)    |   \u003e=0.3.0         | ✅ ||\n| `tool.rye.virtual`  |                   |  [Link](https://rye.astral.sh/guide/pyproject/#toolryevirtual)     |     |   \u003e=0.3.0,\u003c0.4.0         |  | ✅  ||\n| `tool.rye.virtual`  | `tool.uv.package`|  [Link](https://rye.astral.sh/guide/pyproject/#toolryevirtual)     |  [Link](https://docs.astral.sh/uv/reference/settings/#package)   |   \u003e=0.4.0 |✅||         \n\n## Locked dependencies\nThe `rye-uv` tool modifies only the `pyproject.toml` file. To generate the `uv.lock` file, you must run `uv sync` or `uv lock` after converting the `pyproject.toml` file with `rye-uv`.\n\nNote that locked dependencies in your existing `requirements.lock` (and `requirements-dev.lock`) files will not be transferred to the new `uv.lock` file. To preserve specific dependency versions, update the `pyproject.toml` file to use exact version constraints (e.g., `==`) for your dependencies *before* running `rye-uv`.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucianosrp%2Frye-uv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucianosrp%2Frye-uv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucianosrp%2Frye-uv/lists"}