spatial-rx
Tools for exploring spatial omics data in notebooks — reactive widgets that stay in sync with your Python analysis.
| Tool | Role | Demo |
|---|---|---|
| LandmarksWidget | Draw selections and landmarks on tissue coordinates; measure from the notebook | |
| GalleryWidget | Compact card gallery (e.g. analysis recipes / use cases) |
More widgets and helpers may land here over time.
Install
pip install spatial-rx
From source:
uv sync --extra demo --group dev
LandmarksWidget
Draw selections and landmarks on tissue coordinates (lasso, rectangle, ellipse; point,
line, spline, shape). Format data as AnnData with obsm["spatial"], then
LandmarksWidget(adata, color=..., genes=...). Neighborhoods expand in the browser.
Persist hits with get_obs_names / selection_mask.
GalleryWidget
Selectable image cards for recipes or use cases. Synced selection is selected_index.
Metadata
Release files for spatial-rx 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spatial_rx-1.0.1.tar.gz | 9.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spatial_rx-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 MB
Release files / spatial_rx-1.0.1.tar.gz
| Download URL | spatial_rx-1.0.1.tar.gz |
|---|---|
| Size | 9.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6553c1db25ba17ec1306c0ac15d2458eca497a0de534f310e35ff36e8c3ad19
|
|
BLAKE2b-256 checksum How to use checksums |
5db7a442092550709e1dcb3d64e8c95186297c64caa721fde61dba038bb483bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / spatial_rx-1.0.1-py3-none-any.whl
| Download URL | spatial_rx-1.0.1-py3-none-any.whl |
|---|---|
| Size | 852.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
63a1bcf9c600158b496915187984b5beaa220724484e2707e4a6f1937b90e6e7
|
|
BLAKE2b-256 checksum How to use checksums |
f304ed0e23dc9b361ff675353b87d1a33fc7f06adcabd7b33c76dc76795402a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|