# scPyviewer: a Python-native interactive viewer from AnnData single-cell data

DevFeed: [scPyviewer: a Python-native interactive viewer from AnnData single-cell data](<https://devfeed.tech/articles/scpyviewer-a-python-native-interactive-viewer-from-anndata-single-cell-data-103053.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.35890>)

Author: Hao Xuan, Yu Huang, Jiang Bian, Xiangtao Liu

Published: 2026-10-28T04:00:00Z

Content type: release

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Streamlit](<https://devfeed.tech/topics/streamlit.md>), [pandas](<https://devfeed.tech/topics/pandas.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cells](<https://devfeed.tech/tags/cells.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [explore](<https://devfeed.tech/tags/explore.md>), [expression](<https://devfeed.tech/tags/expression.md>), [faster](<https://devfeed.tech/tags/faster.md>), [framework](<https://devfeed.tech/tags/framework.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [interaction](<https://devfeed.tech/tags/interaction.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [interactive-viewer](<https://devfeed.tech/tags/interactive-viewer.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [native](<https://devfeed.tech/tags/native.md>), [python](<https://devfeed.tech/tags/python.md>), [q-bio-gn](<https://devfeed.tech/tags/q-bio-gn.md>)

## AI overview

scPyviewer provides a Python-native interactive viewer that reads AnnData directly, avoiding conversion to Seurat for sharing single-cell results. In an audit against three R Shiny tools, it matched or exceeded baseline capabilities (7/7), with native AnnData ingestion and cross-dataset comparison over shared genes and matched cell types as distinct features. Across three datasets of 22,315 to about 313,000 cells, it rendered every core view faster (up to 3.6x) and used less memory (5.2x lower on the smallest dataset). At 313,000 cells, it completed all views while Seurat exceeded an 8 GB memory limit and failed. Its Python API also returns Matplotlib figures and pandas tables. These findings are reported in the supplied abstract.

## Source excerpt

arXiv:2610.35890v1 Announce Type: cross Abstract: Motivation: Interactive web tools enabling non-programmers to explore single-cell datasets, embeddings, gene expression, metadata, and marker genes are standard laboratory infrastructure. However, actively maintained tools (e.g., ShinyCell, ScRDAVis, sCIRCLE) rely on R Shiny and require Seurat objects. Python/scanpy, the dominant framework for single-cell RNA-seq and spatial analysis, lacks a lightweight, native option pairing a shareable viewer with a scriptable Python API. Sharing scanpy results currently requires converting to Seurat or sharing code notebooks. Results: We present scPyviewer, a web viewer that ingests AnnData objects directly and reproduces incumbent interaction patterns within the Python stack. In a feature-parity audit against three R Shiny tools, scPyviewer matches or exceeds baseline capabilities (7/7), uniquely offering native AnnData ingestion without conversion and cross-dataset comparison over shared genes and matched cell types. Benchmark tests across three datasets (22,315 to ~313,000 cells) show scPyviewer renders every core view faster (up to 3.6x speedup) using lower memory (5.2x lower on the smallest dataset). On 313,000 cells, scPyviewer completes all views while Seurat exhausts an 8 GB memory limit and fails. Beyond the app, scPyviewer exposes a Python API returning Matplotlib figures and pandas tables for publication-ready output. Availability and implementation: Implemented in Python 3.11 (scanpy 1.11.5, anndata 0.12.19, streamlit 1.59.2, plotly 6.9.0) with a one-command interface to reproduce benchmarks, figures, and launch the app. Source code: https://github.com/xuan13hao/scPyviewer.git