{"id":26142302,"url":"https://github.com/keller-mark/oxc-py","last_synced_at":"2026-04-18T21:03:18.188Z","repository":{"id":279647851,"uuid":"939431585","full_name":"keller-mark/oxc-py","owner":"keller-mark","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-26T17:03:39.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T17:31:04.960Z","etag":null,"topics":["hidivelab"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/keller-mark.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":"2025-02-26T14:31:23.000Z","updated_at":"2025-02-26T17:03:42.000Z","dependencies_parsed_at":"2025-02-26T17:32:27.482Z","dependency_job_id":"e66a7b88-e2f6-4989-b7ac-d1a9e5bbb9bb","html_url":"https://github.com/keller-mark/oxc-py","commit_stats":null,"previous_names":["keller-mark/oxc-py"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keller-mark%2Foxc-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keller-mark%2Foxc-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keller-mark%2Foxc-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keller-mark%2Foxc-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keller-mark","download_url":"https://codeload.github.com/keller-mark/oxc-py/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242967719,"owners_count":20214281,"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":["hidivelab"],"created_at":"2025-03-11T03:48:15.022Z","updated_at":"2026-04-18T21:03:13.134Z","avatar_url":"https://github.com/keller-mark.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oxc-py\n\n\n[![PyPI](https://img.shields.io/pypi/v/oxc_py)](https://pypi.org/project/oxc_py)\n\u003ca href=\"https://colab.research.google.com/gist/keller-mark/658a2f466ff3b61bf8e73fedac4d2067/oxc_py_demo.ipynb\" target=\"_parent\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"\u003e\u003c/a\u003e\n\nPython bindings to the [oxc](https://github.com/oxc-project/oxc) [transformer](https://github.com/oxc-project/oxc/tree/main/crates/oxc_transformer).\n\nFor the `esbuild` equivalent, see [esbuild-py](https://github.com/keller-mark/esbuild-py).\n\n## Usage\n\n```py\nfrom oxc_py import transform\n\njsx = \"\"\"\nimport * as React from 'react'\nimport * as ReactDOM from 'react-dom'\n\nReactDOM.render(\n    \u003ch1\u003eHello, world!\u003c/h1\u003e,\n    document.getElementById('root')\n);\n\"\"\"\n\nprint(transform(jsx))\n```\n\n## Development\n\n### Setup\n\n```sh\nuv venv\nsource .venv/bin/activate\nuv sync --extra dev\n```\n\n### Test\n\n```sh\nuv run pytest\n```\n\n## Resources\n- https://github.com/keller-mark/esbuild-py\n- https://github.com/oxc-project/oxc/blob/71155cf575b6947bb0e85376d18375c2f3c50c73/crates/oxc_transformer/examples/transformer.rs\n- https://docs.rs/oxc_transformer/0.53.0/oxc_transformer/\n- https://www.maturin.rs/tutorial.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeller-mark%2Foxc-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeller-mark%2Foxc-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeller-mark%2Foxc-py/lists"}