{"id":27292907,"url":"https://github.com/tiwater/rerun-query","last_synced_at":"2025-04-11T22:18:34.051Z","repository":{"id":254284781,"uuid":"845010729","full_name":"tiwater/rerun-query","owner":"tiwater","description":"Query and extract entity data from Rerun data files.","archived":false,"fork":false,"pushed_at":"2025-03-31T17:20:38.000Z","size":8298,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-03T05:34:20.834Z","etag":null,"topics":["apache-arrow","pyo3","rerun"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/rerun-query","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiwater.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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-08-20T12:08:51.000Z","updated_at":"2024-10-29T02:03:52.000Z","dependencies_parsed_at":"2024-08-26T17:39:03.860Z","dependency_job_id":null,"html_url":"https://github.com/tiwater/rerun-query","commit_stats":null,"previous_names":["tiwater/rerun-query"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiwater%2Frerun-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiwater%2Frerun-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiwater%2Frerun-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiwater%2Frerun-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiwater","download_url":"https://codeload.github.com/tiwater/rerun-query/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487674,"owners_count":21112191,"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":["apache-arrow","pyo3","rerun"],"created_at":"2025-04-11T22:18:32.780Z","updated_at":"2025-04-11T22:18:34.036Z","avatar_url":"https://github.com/tiwater.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rerun Query\n\n[![PyPI version](https://img.shields.io/pypi/v/rerun-query.svg?color=green)](https://pypi.org/project/rerun-query/)\n[![Downloads](https://static.pepy.tech/badge/rerun-query)](https://pepy.tech/project/rerun-query)\n[![License](https://img.shields.io/github/license/tiwater/rerun-query.svg)](https://github.com/tiwater/rerun-query/blob/main/LICENSE)\n[![Supported Python Version](https://img.shields.io/pypi/pyversions/rerun-query.svg)](https://pypi.org/project/rerun-query)\n\nPython SDK to query and extract data from [Rerun](https://rerun.io) files.\n\n## Rerun Compatibility\n\nThis project is only compatible with Rerun 0.18. Please make sure the source rrd file is created with this version of Rerun SDK [[Rust](https://docs.rs/rerun/latest/rerun/)].\n\n\u003e [!NOTE]\n\u003e The Blueprint of Rerun data (controls the layout of the viewer) is ignored for now, while the entity_paths were still included in the return value of `list_entity_paths()`.\n\u003e\n\u003e Please [open an issue](https://github.com/tiwater/rerun-query/issues/new) if you need this feature or other help.\n\n## Install\n\nThis project depends on `numpy`, so please make sure install it with this package together.\n\n```bash\npip install numpy rerun-query\n```\n\nThe retrieved data is in numpy arrays.\n\n## Usage\n\nUse this package:\n\n```py\nimport requery\n\ndata = requery.query_data_entities(file_path, \"\", \"\")\nfor data_row in data:\n    print(f\"Entity Path: {data_row.entity_path}\")\n    for timeline_key, times in data_row.timelines.items():\n        print(f\"Timeline({timeline_key}) - {times}\")\n    data_object = data_row.data\n    for index, data in enumerate(data_object[:10]):\n        print(f\"- {index + 1} {data}\")\n```\n\n## Example\n\nYou can find running example and sample data file in [examples](https://github.com/tiwater/rerun-query/tree/main/examples) folder.\n\nTo run the example Python code:\n\n```bash\ncd ./examples\npython3 -m venv .venv\nsource .venv/bin/activate\npython3 main.py\n```\n\nThe output includes entity paths, meta data, and tensor data in numpy arrays.\n\nTo view the logs in detail, run the program as:\n\n```bash\nRUST_LOG=debug python3 main.py\n```\n\nIf the program crashes unexpectedly, try to diagnose with:\n\n```bash\nRUST_BACKTRACE=1 python3 main.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiwater%2Frerun-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiwater%2Frerun-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiwater%2Frerun-query/lists"}