troutpy
Package for the analysis of unassigned RNA during segmentation in image-based spatial transcriptomics, in python.
Getting started
Please refer to the documentation, in particular, the API documentation.
Installation
You neeed to have Python 3.10 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.
There are several alternative options to install troutpy:
- Install the latest release of
troutpyfrom PyPI:
pip install troutpy
- Install the latest development version:
pip install git+https://github.com/theislab/troutpy.git@main
Some functionality (spatial statistics, segmentation-free clustering, chord-diagram
plots, morphological metrics, factor analysis, vendor-format readers) requires
optional extras. Install everything with pip install "troutpy[all]", or pick
individual extras (spatial-stats, segmentation-free, chord, morphology,
factor-analysis, io, viz) as needed.
Usage
Please have a look at the Usage documentation and the tutorials.
import troutpy as tp
Reproducibility
Code, notebooks, and instructions to reproduce the results from the paper are available at the reproducibility repository. This repository also include diverse tutorials and compementary functions that are not core to Troutpy, but are required to reproduce the figures from Marco Salas et al. 2025.
Release notes
See the changelog.
Contact
For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.
Citation
t.b.a
Metadata
Release files for troutpy 0.1.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 | |
|---|---|---|---|
| troutpy-0.1.1.tar.gz | 16.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| troutpy-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.6 MB
Release files / troutpy-0.1.1.tar.gz
| Download URL | troutpy-0.1.1.tar.gz |
|---|---|
| Size | 16.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50ab93014dd6f5fea5f8b31adb33e3e51bc08b47e65adc78c53e7cf0e929d15d
|
|
BLAKE2b-256 checksum How to use checksums |
41b49d137d98198f2ae59bb7bc5704efaad3f8c8ab2db8a3da1a8841a032fdca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency logRelease files / troutpy-0.1.1-py3-none-any.whl
| Download URL | troutpy-0.1.1-py3-none-any.whl |
|---|---|
| Size | 109.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6b8031eb64f6f3d4f5cf7a35e586787fdc3e1d4d2ec4c567a4311f83ae6e736
|
|
BLAKE2b-256 checksum How to use checksums |
240c7f014d6208f8b21e9c3335f7f3eecf20b092f46351a5d9ffd52a079c1e4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.
Transparency log