⬢github Python · 149 ★ +6 since we first saw it · pushed 1 d ago · Apache-2.0
xqlsystems/xarray-sql
An experiment to query Xarray datasets with SQL
xarray-sql lets you query Xarray datasets with SQL by pivoting multidimensional array data into table form. It registers datasets with query engines like DuckDB or Polars, ingests them into databases via ADBC, or serves them over Arrow Flight SQL, then converts query results back to Xarray datasets for analysis or plotting.
Why now: It appeared on Hacker News with a demo claiming a FlashAttention kernel can be automatically deduced from ~25 lines of SQL, generating attention for the project.
Who it is for: Data scientists and climate/weather researchers working with Xarray who prefer writing SQL over Xarray's Python API.
Stars over our 12 snapshots: 143 to 149, since 12 h ago.
Where people talked about it
API: https://socialmediatrends-api.osmike.com/v1/repos/xqlsystems/xarray-sql