{"id":18383245,"url":"https://github.com/pythonarcade/arcade-accelerate","last_synced_at":"2025-04-06T23:32:10.330Z","repository":{"id":152202241,"uuid":"614055811","full_name":"pythonarcade/arcade-accelerate","owner":"pythonarcade","description":"An experimental module for accelerating parts of arcade","archived":false,"fork":false,"pushed_at":"2024-10-07T02:39:55.000Z","size":100,"stargazers_count":11,"open_issues_count":6,"forks_count":4,"subscribers_count":4,"default_branch":"development","last_synced_at":"2025-04-02T11:03:53.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pythonarcade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2023-03-14T19:57:13.000Z","updated_at":"2025-01-23T08:55:17.000Z","dependencies_parsed_at":"2024-03-02T00:25:55.302Z","dependency_job_id":"c378f4c2-a8cc-4068-b681-5762b75e7e47","html_url":"https://github.com/pythonarcade/arcade-accelerate","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonarcade%2Farcade-accelerate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonarcade%2Farcade-accelerate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonarcade%2Farcade-accelerate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pythonarcade%2Farcade-accelerate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pythonarcade","download_url":"https://codeload.github.com/pythonarcade/arcade-accelerate/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247569124,"owners_count":20959758,"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":[],"created_at":"2024-11-06T01:10:35.856Z","updated_at":"2025-04-06T23:32:07.506Z","avatar_url":"https://github.com/pythonarcade.png","language":"Rust","readme":"\n# arcade-accelerate\n\nAn experimental library for accelerating [Arcade](https://github.com/pythonarcade/arcade) using Rust. The module can\nbe imported and monkey patch Arcade, replacing functions and types with rust versions.\n\n```py\nimport arcade_accelerate\narcade_accelerate.bootstrap()\n\nimport arcade\n```\n\nIt is important to run the arcade-accelerate bootstrapping process before importing Arcade, otherwise the monkey-patched versions will not be fully applied.\n\n## Build / Setup\n\nFirst create and activate a Python virtual environment, then install maturin:\n\n```bash\npip install maturin\n```\n\nInstall the crate as module in the current virtual environment using Maturin. Generally\nwhen working on performance enhancements you will want to use the `--release` flag.\n\n```sh\n# Debug\nmaturin develop\n\n# Release\nmaturin develop --release\n```\n\nThen you can install [Arcade](https://github.com/pythonarcade/arcade) into the same virtual environment\nand run any of it's examples:\n\n```sh\ncd \u003cdirectory of arcade project\u003e\npip install -e .\n```\n\nOptimally testing should be done against the `development` branch of Arcade.\nIn order to enable `arcade-accelerate` add these two lines anytime before importing `arcade`. It is important that\nthe bootstrap is done prior to importing Arcade, otherwise the monkey-patched functions/classes will not fully apply.\n\n```py\nimport arcade_accelerate\narcade_accelerate.bootstrap()\n\nimport arcade\n```\n\nIf you would like to run Arcade's test suite with arcade-accelerate enabled, you can do so by setting the `ARCADE_PYTEST_USE_RUST` environment variable before running pytest on Arcade. You just need to ensure that both Arcade and arcade-accelerate are installed in the same environment.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonarcade%2Farcade-accelerate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonarcade%2Farcade-accelerate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonarcade%2Farcade-accelerate/lists"}