{"id":15921761,"url":"https://github.com/mloning/rocket-rs","last_synced_at":"2026-05-15T21:32:34.358Z","repository":{"id":229488987,"uuid":"775678009","full_name":"mloning/rocket-rs","owner":"mloning","description":"Rust implementation of ROCKET time-series transform with Python bindings","archived":false,"fork":false,"pushed_at":"2025-01-25T13:30:18.000Z","size":97,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T12:36:25.425Z","etag":null,"topics":["python","rust","time-series"],"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/mloning.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,"zenodo":null}},"created_at":"2024-03-21T20:48:03.000Z","updated_at":"2025-01-25T13:30:22.000Z","dependencies_parsed_at":"2024-04-05T23:29:02.787Z","dependency_job_id":"72dcc442-4155-4e97-9937-5037c4f38980","html_url":"https://github.com/mloning/rocket-rs","commit_stats":null,"previous_names":["mloning/rocket-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mloning/rocket-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloning%2Frocket-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloning%2Frocket-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloning%2Frocket-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloning%2Frocket-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mloning","download_url":"https://codeload.github.com/mloning/rocket-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloning%2Frocket-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268867222,"owners_count":24320309,"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-05T02:00:12.334Z","response_time":2576,"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","time-series"],"created_at":"2024-10-06T20:01:54.980Z","updated_at":"2026-05-15T21:32:29.316Z","avatar_url":"https://github.com/mloning.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust implementation of ROCKET time-series transform with Python bindings\n\nThis repo implements the [ROCKET] time-series transform in Rust with Python bindings. Originally, ROCKET is implemented in Python.\n\n[ROCKET]: https://github.com/angus924/rocket\n\n## Usage\n\nUsing the [arrow-head dataset] provided by [aeon]:\n\n```python\nfrom aeon.datasets import load_arrow_head\nfrom rocket_rs import transform\n\nx, _ = load_arrow_head(split=\"train\")\nz = transform(x)\n```\n\n[arrow-head dataset]: https://timeseriesclassification.com/description.php?Dataset=ArrowHead\n[aeon]: https://github.com/aeon-toolkit/aeon\n\n## Contributing\n\n### Initial setup\n\n- Install Python, e.g. using [miniforge](https://github.com/conda-forge/miniforge)\n- Install [Rust](https://www.rust-lang.org/tools/install)\n- Install [maturin](https://www.maturin.rs/)\n- Create and activate Python virtual environment (e.g. `conda create -n rocket-rs python=3.11 \u0026\u0026 conda activate rocket-rs`)\n- Run:\n\n```bash\nmaturin develop --extras=dev\npre-commit install --install-hooks\npython -m maturin_import_hook site install --args=\"--release\"\n```\n\n### Development\n\n- `maturin develop` to re-build and install the editable development version (`pip install --editable .`)\n- `maturin build` to build the Rust package and Python wheel\n- `pytest --benchmark-skip` to rebuild automatically using `maturin_import_hook` and run Python unit tests\n- `pytest --benchmark-only` to run benchmarks using `maturin_import_hook`\n\n### Todo\n\n- [x] separate kernel parameter generation from computation\n- [x] compare and test against Python implementation in [aeon]\n- [x] refactor to pass random generator to functions\n- [ ] use debugger\n- [ ] benchmark \u0026 improve\n\n### Notes\n\n- For Python bindings for Rust, see https://github.com/PyO3/pyo3\n- https://github.com/PyO3/maturin for packaging and publishing\n- To use `poetry` with `maturin`, see https://github.com/PyO3/maturin/discussions/1246#discussioncomment-4047386\n- For project layout using both Python and Rust, see https://www.maturin.rs/project_layout.html#mixed-rustpython-project, I preferred having separate folders for Rust and Python\n- To generate GitHub Action, run `maturin generate-ci github`\n- https://github.com/FL33TW00D/rustDTW\n- https://github.com/PyO3/rust-numpy for integration between Python Numpy and Rust ndarray arrays\n- https://www.aeon-toolkit.org/en/stable/examples/classification/classification.html\n- https://github.com/projectsyn/reclass-rs and https://www.youtube.com/watch?v=N7GMHcX-WdA\n- micro-benchmarking with https://github.com/bheisler/criterion.rs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloning%2Frocket-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmloning%2Frocket-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloning%2Frocket-rs/lists"}