{"id":21598478,"url":"https://github.com/aviksaikat/rye-testing","last_synced_at":"2025-03-18T11:32:38.020Z","repository":{"id":239884518,"uuid":"800869898","full_name":"Aviksaikat/Rye-Testing","owner":"Aviksaikat","description":"Repo for testing Rye","archived":false,"fork":false,"pushed_at":"2024-05-20T16:11:18.000Z","size":3306,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T16:59:24.520Z","etag":null,"topics":["python-rye","python3","rye"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aviksaikat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-05-15T06:46:21.000Z","updated_at":"2024-05-20T16:11:21.000Z","dependencies_parsed_at":"2024-05-20T18:27:33.014Z","dependency_job_id":null,"html_url":"https://github.com/Aviksaikat/Rye-Testing","commit_stats":null,"previous_names":["aviksaikat/rye-testing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aviksaikat%2FRye-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aviksaikat%2FRye-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aviksaikat%2FRye-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aviksaikat%2FRye-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aviksaikat","download_url":"https://codeload.github.com/Aviksaikat/Rye-Testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244211065,"owners_count":20416578,"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","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-rye","python3","rye"],"created_at":"2024-11-24T18:12:18.202Z","updated_at":"2025-03-18T11:32:37.998Z","avatar_url":"https://github.com/Aviksaikat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rye-test\n\n\u003cdetails close\u003e\n\u003csummary\u003eAbout Rye\u003c/summary\u003e\n\n\nfrom: bluss on discord.\nWhen rye was announced last year, it was the only one handling python toolchains (except for pyenv), since then pdm and hatch also install Python, so that benefit has become smaller.\nPitching rye though\n- Rye tries to show good defaults based on relevant standards for pyproject (Poetry drawback: it's further from the standards in how it works)\n- Rye installs predictable python toolchains, don't have to compile yourself like pyenv, not sensitive to having a compiler or certain dependencies\n- Rye init creates a working lib or binary project (my experience with hatch - it throws a lot of default settings at when you set up the project, but not always obvious how to get them to work. Hatch can do a lot of stuff, has lots of features, so it's of course a more powerful tool in that sense.)\n- Rye is very predictable in how it handles python versions in projects, it's always using one of its toolchains. Pdm, Hatch etc in many situations just pick whatever `python` it finds in your path, so you have to think more about what your configuration is. Rye's predictability helps users of all skill levels.\n- Rye drawback: it's basically in a tech preview state still. Note that astral seems to say that UV will get Rye like features.\nWith that said, stuff is changing rapidly and evidently there's a lot of competing alternatives here.\n\n\u003c/details\u003e\n\n- By default [`rye`](https://rye-up.com/) will use [uv](https://github.com/astral-sh/uv)\n\n## Demo\n\n![](media/banner.gif)\n\n```sh\n# initialise\nrye init\n\n# install toolchains\nrye toolchain list --include-downloadable\n# Download the toolchain python\nrye toolchain fetch 3.10 # version\n\n# Change project python version\nrye pin \u003cpython version\u003e # must be installed from toolchains\n\n# add deps\nrye add rich\n# add dev deps\nrye add --dev pytest\n\n# install deps into the virtual env\nrye sync\n\n# show deps\nrye show\n\n# run\nrye run python src/rye_test/main.py\n\n# build\nrye build # default using hatch\n\n# publish\nrye publish\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faviksaikat%2Frye-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faviksaikat%2Frye-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faviksaikat%2Frye-testing/lists"}