xarray-sql 0.5.0__tar.gz → 0.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/.gitignore +2 -0
  2. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/AGENTS.md +10 -1
  3. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/Cargo.lock +217 -205
  4. xarray_sql-0.7.0/Cargo.toml +63 -0
  5. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/PKG-INFO +46 -84
  6. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/README.md +38 -80
  7. xarray_sql-0.7.0/benchmarks/ml/01_attention.py +352 -0
  8. xarray_sql-0.7.0/benchmarks/ml/02_nanogpt.py +672 -0
  9. xarray_sql-0.7.0/benchmarks/ml/README.md +276 -0
  10. xarray_sql-0.7.0/benchmarks/ml/_bench.py +186 -0
  11. xarray_sql-0.7.0/benchmarks/ml/_hosts.py +162 -0
  12. xarray_sql-0.7.0/docs/browser.md +154 -0
  13. xarray_sql-0.7.0/docs/demo/app.py +217 -0
  14. xarray_sql-0.7.0/docs/demo/chunk_cache.py +238 -0
  15. xarray_sql-0.7.0/docs/demo/fetch_store.py +148 -0
  16. xarray_sql-0.7.0/docs/demo/index.html +481 -0
  17. xarray_sql-0.7.0/docs/demo/smoke.mjs +52 -0
  18. xarray_sql-0.7.0/docs/demo/worker.js +83 -0
  19. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/docs/engines.md +41 -6
  20. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/docs/examples.md +9 -9
  21. xarray_sql-0.7.0/docs/explainer/era5.json +1 -0
  22. xarray_sql-0.7.0/docs/explainer/index.html +569 -0
  23. xarray_sql-0.7.0/docs/explainer/make_snapshot.py +46 -0
  24. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/docs/geospatial.md +1 -1
  25. xarray_sql-0.7.0/docs/how-it-works.md +41 -0
  26. xarray_sql-0.7.0/docs/learn.md +410 -0
  27. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/docs/limitations.md +7 -6
  28. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/docs/performance.md +28 -1
  29. xarray_sql-0.7.0/flake.nix +109 -0
  30. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/pyproject.toml +25 -3
  31. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/src/flight.rs +1 -1
  32. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/src/lib.rs +15 -3
  33. xarray_sql-0.7.0/tests/test_ad.py +182 -0
  34. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_arrow_dataset.py +24 -0
  35. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_cft.py +11 -1
  36. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_df.py +2 -4
  37. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_ds.py +10 -0
  38. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_duckdb_backend.py +8 -3
  39. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_lazy_roundtrip.py +74 -0
  40. xarray_sql-0.7.0/tests/test_learn_page.py +124 -0
  41. xarray_sql-0.7.0/tests/test_ml_demos.py +50 -0
  42. xarray_sql-0.7.0/tests/test_prepare.py +347 -0
  43. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_sql.py +268 -1
  44. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_stats.py +12 -8
  45. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_to_dataset_perf.py +3 -3
  46. xarray_sql-0.7.0/xarray_sql/__init__.py +48 -0
  47. xarray_sql-0.7.0/xarray_sql/ad.py +203 -0
  48. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/backends/base.py +7 -2
  49. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/backends/datafusion.py +21 -8
  50. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/backends/flight.py +14 -4
  51. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/backends/pyarrow.py +8 -8
  52. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/cftime.py +29 -22
  53. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/df.py +50 -11
  54. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/ds.py +98 -48
  55. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/lazyscan.py +32 -1
  56. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/proj.py +2 -2
  57. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/reader.py +131 -6
  58. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/roundtrip.py +75 -22
  59. xarray_sql-0.7.0/xarray_sql/sql.py +596 -0
  60. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/zensical.toml +3 -0
  61. xarray_sql-0.5.0/Cargo.toml +0 -46
  62. xarray_sql-0.5.0/flake.nix +0 -44
  63. xarray_sql-0.5.0/xarray_sql/__init__.py +0 -28
  64. xarray_sql-0.5.0/xarray_sql/sql.py +0 -192
  65. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/.envrc +0 -0
  66. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/LICENSE +0 -0
  67. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/duckdb_pushdown.py +0 -0
  68. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/01_ndvi.py +0 -0
  69. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/02_climatology.py +0 -0
  70. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/03_zonal_mean.py +0 -0
  71. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/04_anomaly.py +0 -0
  72. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/05_forecast_skill.py +0 -0
  73. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/06_zonal_vector.py +0 -0
  74. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/07_reproject_udf.py +0 -0
  75. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/08_regrid_weights.py +0 -0
  76. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/09_warp.py +0 -0
  77. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/README.md +0 -0
  78. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/_engines.py +0 -0
  79. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/_harness.py +0 -0
  80. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/engine_suite.py +0 -0
  81. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/perf_summary.py +0 -0
  82. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/run_all.sh +0 -0
  83. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/benchmarks/geospatial/run_perf.sh +0 -0
  84. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/docs/assets/logo.svg +0 -0
  85. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/docs/contributing.md +0 -0
  86. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/docs/index.md +0 -0
  87. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/docs/reference/xarray_sql.md +0 -0
  88. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/flake.lock +0 -0
  89. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/__init__.py +0 -0
  90. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/_adbc.py +0 -0
  91. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/conftest.py +0 -0
  92. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_adbc_backend.py +0 -0
  93. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_adbc_era5_integration.py +0 -0
  94. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_arrow_dataset_integration.py +0 -0
  95. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_coord_lookup.py +0 -0
  96. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_flight_sql.py +0 -0
  97. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_geometry.py +0 -0
  98. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_proj.py +0 -0
  99. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_reader.py +0 -0
  100. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_sql_recipes.py +0 -0
  101. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/tests/test_table_names.py +0 -0
  102. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/backends/__init__.py +0 -0
  103. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/backends/_adbc_dialects.py +0 -0
  104. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/backends/adbc.py +0 -0
  105. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/backends/duckdb.py +0 -0
  106. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/core.py +0 -0
  107. {xarray_sql-0.5.0 → xarray_sql-0.7.0}/xarray_sql/geometry.py +0 -0
@@ -15,3 +15,5 @@ CHANGELOG.md
15
15
  *.ipynb
16
16
  /site
17
17
  .direnv
18
+ # Pyodide wheels copied in to test the browser demo locally
19
+ docs/demo/*.whl
@@ -8,7 +8,16 @@ summarizes recurring maintainer review feedback so changes land clean.
8
8
  - Keep docstrings and comments self-contained. Do **not** put GitHub issue or PR
9
9
  numbers in docstrings or code comments; a reader should not need the issue
10
10
  tracker to understand the code. Issue references belong in the commit message
11
- and PR description (e.g. `Closes #189`), not in the source.
11
+ and PR description (e.g. `Closes #189`), not in the source. The one exception
12
+ is a workaround's `TODO`, which names the issue that would remove it:
13
+ `TODO(#NN): <action item>`, or `TODO(owner/repo#NN): <action item>` for an
14
+ issue in another repository. The comment still explains the workaround.
15
+ - Introduce every reference before relying on it. The first time a document
16
+ (a docstring, comment, README or docs page) mentions a project, paper,
17
+ algorithm, dataset or term of art, such as einfold, FlashAttention or a
18
+ section of another project's design, say in a few words what it is, and link
19
+ it where there is a link. Don't assume the reader has the context of the
20
+ conversation that produced the code.
12
21
  - Do not reference the review conversation, chat, or "the reporter" in comments.
13
22
  Describe the behavior, not how it came up.
14
23