{"id":18843820,"url":"https://github.com/kenkoooo/optpy","last_synced_at":"2025-04-14T07:32:40.525Z","repository":{"id":62956084,"uuid":"523550214","full_name":"kenkoooo/optpy","owner":"kenkoooo","description":"optpy is a transpiler to generate a Rust file from a Python file","archived":false,"fork":false,"pushed_at":"2022-12-15T08:55:59.000Z","size":826,"stargazers_count":28,"open_issues_count":15,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T05:01:49.768Z","etag":null,"topics":["python","rust","transpiler"],"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/kenkoooo.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}},"created_at":"2022-08-11T01:39:03.000Z","updated_at":"2024-04-05T12:46:15.000Z","dependencies_parsed_at":"2023-01-29T02:31:19.326Z","dependency_job_id":null,"html_url":"https://github.com/kenkoooo/optpy","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenkoooo%2Foptpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenkoooo%2Foptpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenkoooo%2Foptpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenkoooo%2Foptpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenkoooo","download_url":"https://codeload.github.com/kenkoooo/optpy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223624166,"owners_count":17175195,"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","rust","transpiler"],"created_at":"2024-11-08T02:59:01.184Z","updated_at":"2024-11-08T02:59:01.249Z","avatar_url":"https://github.com/kenkoooo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# optpy\n\n[![CI](https://github.com/kenkoooo/optpy/actions/workflows/ci.yml/badge.svg)](https://github.com/kenkoooo/optpy/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/kenkoooo/optpy/branch/main/graph/badge.svg?token=HIXDTWK17I)](https://codecov.io/gh/kenkoooo/optpy)\n\n`optpy` is a transpiler to generate a Rust file from a Python file.\n\n\nhttps://user-images.githubusercontent.com/9150073/200675788-267792f1-a14c-4746-a51d-1e0ecb0c3bac.mp4\n\n## Installation\n\n[Archives of precompiled binaries are available for Linux and macOS.](https://github.com/kenkoooo/optpy/releases)\n\n## Usage\n\n```sh\n./optpy compile \u003cInput Python file\u003e [Output Rust file]\n```\n\n# TODO\n- [x] Functions\n- [x] `for` \u0026 `while` loops\n- [x] List comprehension\n- [ ] Bigint\n- [ ] Classes\n- [ ] Modules\n- [ ] and so many things ...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenkoooo%2Foptpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenkoooo%2Foptpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenkoooo%2Foptpy/lists"}