Skip to content

Commit b67f8eb

Browse files
authored
Rename to xarray-sql. (#41)
This is Qarray no longer! Now, it's Xarray-sql (correct capitalization TBD). The name change is due to the fact that `Qarray` is too similar to other packages in PyPi (i.e. `Xarray`) and is not allowed to be published. https://pypi.org/help/#project-name This is OK in my book; "Qarray" was not a perfect name, either.
1 parent 3e83c0e commit b67f8eb

File tree

17 files changed

+21
-21
lines changed

17 files changed

+21
-21
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
with:
5252
python-version: ${{ matrix.python-version }}
5353
cache: 'pip'
54-
- name: Install qarray
54+
- name: Install xarray_sql
5555
run: |
5656
pip install -e .[test]
5757
- uses: 'actions/checkout@v4'
5858
- name: Run unit tests
5959
run: |
60-
pytest qarray
60+
pytest xarray_sql

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ reading [Xarray's contributing guide](https://docs.xarray.dev/en/stable/contribu
1818
or [Mamba](https://mamba.readthedocs.io/en/latest/)
1919
is preferred.
2020
1. Clone the repository (bonus: [via SSH](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account))
21-
and `cd qarray` (the project root).
21+
and `cd xarray_sql` (the project root).
2222
1. Install dev dependencies via: `pip install -e ".[dev]`

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# qarray
1+
# xarray-sql
22

3-
_Query Xarray via SQL_
3+
_Query Xarray with SQL_
44

5-
[![ci](https://github.com/alxmrs/qarray/actions/workflows/ci.yml/badge.svg)](https://github.com/alxmrs/qarray/actions/workflows/ci.yml)
6-
[![lint](https://github.com/alxmrs/qarray/actions/workflows/lint.yml/badge.svg)](https://github.com/alxmrs/qarray/actions/workflows/lint.yml)
5+
[![ci](https://github.com/alxmrs/xarray-sql/actions/workflows/ci.yml/badge.svg)](https://github.com/alxmrs/xarray-sql/actions/workflows/ci.yml)
6+
[![lint](https://github.com/alxmrs/xarray-sql/actions/workflows/lint.yml/badge.svg)](https://github.com/alxmrs/xarray-sql/actions/workflows/lint.yml)
77

88

99
## What is this?
@@ -12,7 +12,7 @@ This is an experiment to provide a SQL interface for raster data.
1212

1313
```python
1414
import xarray as xr
15-
import qarray as qr
15+
import xarray_sql as qr
1616

1717
ds = xr.tutorial.open_dataset('air_temperature')
1818

@@ -56,8 +56,8 @@ A few reasons:
5656
This is a light-weight way to prove the value of the interface.
5757

5858
The larger goal is to explore the hypothesis that [Pangeo](https://pangeo.io/)
59-
is a scientific database. Here, Qarray can be thought of as a missing DB front
60-
end.
59+
is a scientific database. Here, xarray-sql can be thought of as a missing DB
60+
front end.
6161

6262
## How does it work?
6363

@@ -99,7 +99,7 @@ a [virtual](https://fsspec.github.io/kerchunk/)
9999
filesystem for parquet that would internally map to Zarr. Raster-backed virtual
100100
parquet would open up integrations to numeroustools like dask, pyarrow, duckdb,
101101
and BigQuery. More thoughts on this
102-
in [#4](https://github.com/alxmrs/qarray/issues/4).
102+
in [#4](https://github.com/alxmrs/xarray-sql/issues/4).
103103

104104
## Sponsors & Contributors
105105

perf_tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ So far, this includes statistical profiles via py-spy.
1313

1414
This will open a flame graph in the browser.
1515

16-
2. After tuning code in qarray, run another profile to generate a SVG.
16+
2. After tuning code in xarray-sql, run another profile to generate a SVG.
1717

1818
3. Please commit the "after" profile SVG along with the performance improvements.
1919

perf_tests/compute_air.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22

33
import xarray as xr
4-
import qarray as qr
4+
import xarray_sql as qr
55

66
if __name__ == '__main__':
77
air = xr.tutorial.open_dataset('air_temperature')

perf_tests/groupby_air.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22

33
import xarray as xr
4-
import qarray as qr
4+
import xarray_sql as qr
55
from dask_sql import Context
66

77

perf_tests/groupby_air_full.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22

33
import xarray as xr
4-
import qarray as qr
4+
import xarray_sql as qr
55
from dask_sql import Context
66

77

perf_tests/open_era5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22

33
import xarray as xr
4-
import qarray as qr
4+
import xarray_sql as qr
55

66
# Requires authenticating with GCP
77
era5_ds = xr.open_zarr(

perf_tests/sanity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22

33
import xarray as xr
4-
import qarray as qr
4+
import xarray_sql as qr
55

66
if __name__ == '__main__':
77
air = xr.tutorial.open_dataset('air_temperature')

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "qarray"
2+
name = "xarray_sql"
33
dynamic = ["version"]
44
description = "Querry Xarray with SQL."
55
readme = "README.md"
@@ -37,14 +37,14 @@ test = [
3737
"gcsfs",
3838
]
3939
dev = [
40-
"qarray[test]",
40+
"xarray_sql[test]",
4141
"pyink",
4242
"py-spy"
4343
]
4444

4545
[project.urls]
46-
Homepage = "https://github.com/alxmrs/qarray"
47-
Issues = "https://github.com/alxmrs/qarray/issues"
46+
Homepage = "https://github.com/alxmrs/xarray-sql"
47+
Issues = "https://github.com/alxmrs/xarray-sql/issues"
4848

4949
[build-system]
5050
requires = ["setuptools>=64", "setuptools_scm>=8"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)