diff --git a/README.md b/README.md index 41d2259..94736eb 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ Lean read client for the spatialdata-db spatial-omics collection: query the cata ## Install ```bash -pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.4" +pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.5" ``` -This installs the alpha release, v0.1.4. The `main` branch may be ahead of it, and you get the newest code if you leave out `@v0.1.4`. +This installs the alpha release, v0.1.5. The `main` branch may be ahead of it, and you get the newest code if you leave out `@v0.1.5`. ## Usage diff --git a/docs/guides/cli-and-agents.md b/docs/guides/cli-and-agents.md index 7595095..ec6472d 100644 --- a/docs/guides/cli-and-agents.md +++ b/docs/guides/cli-and-agents.md @@ -5,7 +5,7 @@ The package installs two commands: `sddb-cli`, a thin command line over the cata same catalog. ``` -pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.4" +pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.5" ``` ## sddb-cli @@ -122,7 +122,7 @@ A study without an entry in the published `citations.bib` gets a fallback entry The MCP server speaks stdio and exposes the catalog to an agent. Install the extra: ``` -pip install "spatialdata-db[mcp] @ git+https://github.com/theislab/spatialdata-db-client@v0.1.4" +pip install "spatialdata-db[mcp] @ git+https://github.com/theislab/spatialdata-db-client@v0.1.5" ``` ### Claude Desktop diff --git a/docs/index.md b/docs/index.md index c76360a..ac60fbf 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,19 +29,19 @@ The `sddb-cli` command and the `sddb-mcp` server give the shell and AI agents th :::{tab-item} pip ```bash -pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.4" +pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.5" ``` ::: :::{tab-item} uv ```bash -uv pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.4" +uv pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.5" ``` ::: :::: -This installs the alpha release, v0.1.4. The `main` branch may be ahead of it, and you get the newest code if you leave out `@v0.1.4`. +This installs the alpha release, v0.1.5. The `main` branch may be ahead of it, and you get the newest code if you leave out `@v0.1.5`. The client needs Python 3.12 or newer. It is not on PyPI yet, so install it from GitHub. diff --git a/docs/primers/atera/pixi.lock b/docs/primers/atera/pixi.lock index 3bebf81..4c01b1f 100644 --- a/docs/primers/atera/pixi.lock +++ b/docs/primers/atera/pixi.lock @@ -527,7 +527,7 @@ environments: - pypi: https://files.pythonhosted.org/packages/a8/c0/2dfab7b319dabe23f5a7b515a797c74b501d15c72e7a03837cf0cf779b9e/matplotlib_scalebar-0.9.0-py3-none-any.whl - pypi: https://files.pythonhosted.org/packages/f3/b4/b855a08195794af6cc6c5106b0ce136b72de889ec0ae4ccc94c479f568d2/rapids_singlecell_cu13-0.18.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl - pypi: https://files.pythonhosted.org/packages/45/3c/b9034bf92e1af05475bf6b186b22efaf551a9993364b141aab89ca9c3357/scikit_misc-0.5.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl - - pypi: git+https://github.com/theislab/spatialdata-db-client.git?tag=v0.1.4#66dc3b398430c9a0ddeb512ffbec042ea3223165 + - pypi: git+https://github.com/theislab/spatialdata-db-client.git?tag=v0.1.5#c9a71d361358c64d84be58a0869b6277b2a4b0ae - pypi: https://files.pythonhosted.org/packages/6e/a7/99a9a4397111dd497f8cae506c6100c5058f6c1ddc73e18affd9f5ae7f2a/spatialdata_plot-0.4.3-py3-none-any.whl packages: - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-8_kmp_llvm.conda @@ -7343,9 +7343,9 @@ packages: - pkg:pypi/spatialdata?source=hash-mapping size: 153755 timestamp: 1783420938275 -- pypi: git+https://github.com/theislab/spatialdata-db-client.git?tag=v0.1.4#66dc3b398430c9a0ddeb512ffbec042ea3223165 +- pypi: git+https://github.com/theislab/spatialdata-db-client.git?tag=v0.1.5#c9a71d361358c64d84be58a0869b6277b2a4b0ae name: spatialdata-db - version: 0.1.4 + version: 0.1.5 requires_dist: - fsspec - pandas>=2.2 @@ -7357,6 +7357,14 @@ packages: - typer - universal-pathlib - zarr>=3 + - dask-image ; extra == 'loader' + - pydantic>=2 ; extra == 'loader' + - scikit-image ; extra == 'loader' + - snakemake>=9 ; extra == 'loader' + - snakemake-executor-plugin-slurm ; extra == 'loader' + - spatialbatch ; extra == 'loader' + - squidpy>=1.8.2 ; extra == 'loader' + - threadpoolctl ; extra == 'loader' - mcp ; extra == 'mcp' - anndata<0.13 ; extra == 'viz' - easy-vitessce ; extra == 'viz' diff --git a/docs/primers/atera/pixi.toml b/docs/primers/atera/pixi.toml index 50c4535..ef06b7e 100644 --- a/docs/primers/atera/pixi.toml +++ b/docs/primers/atera/pixi.toml @@ -42,7 +42,7 @@ typer = "*" [pypi-dependencies] rapids-singlecell-cu13 = "*" spatialdata-plot = "*" -spatialdata-db = { git = "https://github.com/theislab/spatialdata-db-client.git", tag = "v0.1.4" } # the pinned client release +spatialdata-db = { git = "https://github.com/theislab/spatialdata-db-client.git", tag = "v0.1.5" } # the pinned client release [activation.env] PYTHONNOUSERSITE = "1" # keep ~/.local pip installs (e.g. stray nvidia-* wheels) from shadowing the env's CUDA libs diff --git a/docs/reference/mcp.md b/docs/reference/mcp.md index ba64aa3..8126cfb 100644 --- a/docs/reference/mcp.md +++ b/docs/reference/mcp.md @@ -3,7 +3,7 @@ `sddb-mcp` serves the catalog to agents over stdio (Model Context Protocol). It needs the optional extra: ```bash -pip install "spatialdata-db[mcp] @ git+https://github.com/theislab/spatialdata-db-client@v0.1.4" +pip install "spatialdata-db[mcp] @ git+https://github.com/theislab/spatialdata-db-client@v0.1.5" sddb-mcp ``` diff --git a/docs/start.md b/docs/start.md index aae2d53..6154ce8 100644 --- a/docs/start.md +++ b/docs/start.md @@ -6,16 +6,16 @@ The [DB website]({{ site_url }}) is the place to find data. This page shows what ## Install ```bash -pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.4" +pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.5" ``` or, with uv: ```bash -uv pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.4" +uv pip install "spatialdata-db @ git+https://github.com/theislab/spatialdata-db-client@v0.1.5" ``` -This installs the alpha release, v0.1.4. The `main` branch may be ahead of it, and you get the newest code if you leave out `@v0.1.4`. The package needs Python 3.12 or newer. It is not on PyPI yet, so install it from GitHub. The name `sddb` on PyPI belongs to an unrelated package. +This installs the alpha release, v0.1.5. The `main` branch may be ahead of it, and you get the newest code if you leave out `@v0.1.5`. The package needs Python 3.12 or newer. It is not on PyPI yet, so install it from GitHub. The name `sddb` on PyPI belongs to an unrelated package. The client keeps its cache in the user cache directory of the platform, in a folder called `sddb`. Set `SDDB_CACHE_DIR` to put it somewhere else, for example on a larger disk. The first call to `Catalog()` downloads the catalog (under 10 MB) from a GitHub release. Later calls check for a newer catalog and download it again only when one has been published. diff --git a/docs/tutorials/00_overview.ipynb b/docs/tutorials/00_overview.ipynb index c6bcff0..8ff3ecd 100644 --- a/docs/tutorials/00_overview.ipynb +++ b/docs/tutorials/00_overview.ipynb @@ -21,7 +21,7 @@ "tutorials use.\n", "\n", "```bash\n", - "pip install \"spatialdata-db[viz] @ git+https://github.com/theislab/spatialdata-db-client@v0.1.4\"\n", + "pip install \"spatialdata-db[viz] @ git+https://github.com/theislab/spatialdata-db-client@v0.1.5\"\n", "```\n", "\n", "The tutorials download about 50 MB of data in total, into the cache described in {doc}`02_load_and_inspect`.\n", diff --git a/primers/env/pixi.lock b/primers/env/pixi.lock index f9c923d..f5cad20 100644 --- a/primers/env/pixi.lock +++ b/primers/env/pixi.lock @@ -525,7 +525,7 @@ environments: - pypi: https://files.pythonhosted.org/packages/44/8e/250fab1cafeea43f4eb11f1d64cd6313f639965ff62cb0d9da3883655781/docrep-0.3.2.tar.gz - pypi: https://files.pythonhosted.org/packages/f3/b4/b855a08195794af6cc6c5106b0ce136b72de889ec0ae4ccc94c479f568d2/rapids_singlecell_cu13-0.18.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl - pypi: https://files.pythonhosted.org/packages/45/3c/b9034bf92e1af05475bf6b186b22efaf551a9993364b141aab89ca9c3357/scikit_misc-0.5.3-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl - - pypi: git+https://github.com/theislab/spatialdata-db-client?tag=v0.1.3#e044e35a4febad2ca63c549c7945f35e84712bcc + - pypi: git+https://github.com/theislab/spatialdata-db-client?tag=v0.1.5#c9a71d361358c64d84be58a0869b6277b2a4b0ae packages: - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-8_kmp_llvm.conda build_number: 8 @@ -7299,9 +7299,9 @@ packages: - pkg:pypi/spatialdata?source=hash-mapping size: 153755 timestamp: 1783420938275 -- pypi: git+https://github.com/theislab/spatialdata-db-client?tag=v0.1.3#e044e35a4febad2ca63c549c7945f35e84712bcc +- pypi: git+https://github.com/theislab/spatialdata-db-client?tag=v0.1.5#c9a71d361358c64d84be58a0869b6277b2a4b0ae name: spatialdata-db - version: 0.1.3 + version: 0.1.5 requires_dist: - fsspec - pandas>=2.2 @@ -7313,6 +7313,14 @@ packages: - typer - universal-pathlib - zarr>=3 + - dask-image ; extra == 'loader' + - pydantic>=2 ; extra == 'loader' + - scikit-image ; extra == 'loader' + - snakemake>=9 ; extra == 'loader' + - snakemake-executor-plugin-slurm ; extra == 'loader' + - spatialbatch ; extra == 'loader' + - squidpy>=1.8.2 ; extra == 'loader' + - threadpoolctl ; extra == 'loader' - mcp ; extra == 'mcp' - anndata<0.13 ; extra == 'viz' - easy-vitessce ; extra == 'viz' diff --git a/primers/env/pixi.toml b/primers/env/pixi.toml index 1213995..f70e9a2 100644 --- a/primers/env/pixi.toml +++ b/primers/env/pixi.toml @@ -37,7 +37,7 @@ typer = "*" [pypi-dependencies] rapids-singlecell-cu13 = "*" -spatialdata-db = { git = "https://github.com/theislab/spatialdata-db-client", tag = "v0.1.3" } +spatialdata-db = { git = "https://github.com/theislab/spatialdata-db-client", tag = "v0.1.5" } [activation.env] PYTHONNOUSERSITE = "1" # keep ~/.local pip installs (e.g. stray nvidia-* wheels) from shadowing the env's CUDA libs diff --git a/tests/test_docs_quickstart.py b/tests/test_docs_quickstart.py index b9f794f..bf55cf6 100644 --- a/tests/test_docs_quickstart.py +++ b/tests/test_docs_quickstart.py @@ -8,7 +8,7 @@ _ROOT = Path(__file__).parent.parent # The release the install instructions pin. To bump: replace the old tag in README.md and docs/, then change this line. -ALPHA_TAG = "v0.1.4" +ALPHA_TAG = "v0.1.5" def test_quickstart_api_exists():