Metadata-Version: 2.4
Name: paste-modern
Version: 1.4.0.post1
Summary: Focused maintained PASTE runtime for spatial transcriptomics registration
Author: Max Land, Raphael Lab
Maintainer-email: Chen Yang <cafferychen777@tamu.edu>
License-Expression: BSD-3-Clause
Project-URL: Homepage, https://github.com/cafferychen777/paste
Project-URL: Repository, https://github.com/cafferychen777/paste
Project-URL: Original project, https://github.com/raphael-group/paste
Project-URL: Issues, https://github.com/cafferychen777/paste/issues
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: <3.15,>=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE.md
Requires-Dist: anndata<0.13,>=0.10
Requires-Dist: numpy<3,>=1.26
Requires-Dist: POT<0.10,>=0.9.6
Requires-Dist: scikit-learn<2,>=1.3
Requires-Dist: scipy<2,>=1.11
Dynamic: license-file

# PASTE Modern

`paste-modern` is a focused maintained distribution of
[PASTE](https://github.com/raphael-group/paste) for spatial transcriptomics
registration. The Python import remains `paste`.

```bash
pip install paste-modern
```

The package retains the four runtime APIs used by ChatSpatial:

- `pairwise_align`
- `center_align`
- `stack_slices_pairwise`
- `stack_slices_center`

It delegates fused Gromov-Wasserstein optimization to POT's current public
`ot.gromov.fused_gromov_wasserstein` API. This removes the private solver copy
whose callback signature became incompatible with modern POT releases. Plotting,
IPython, Scanpy, and notebook-only assets are intentionally not part of this
runtime distribution.

## Compatibility

- Python 3.11–3.14
- POT 0.9.6+
- NumPy and PyTorch POT backends

## Attribution

PASTE was developed by Max Land and the Raphael Lab and published in
*Nature Methods*. See the [original repository](https://github.com/raphael-group/paste)
for the paper, tutorials, datasets, and complete historical project. This
maintained distribution remains under the original BSD 3-Clause license.
