Skip to main content

zeztz-flow

zeztz-flow is an marimo-compatible flow-cytometry FCS analysis package. Derived from cytoflow, this package is designed to become a minimal platform, allowing users to perform vibe analysis with their own AI agents.

Features:

  • FCS import with automatic well-plate metadata
  • Cleanup gating: scatter, doublet removal, polygon, custom thresholds
  • Density plots, faceted histograms, ridgeline plots
  • Subset by row, column, or well
  • Median-fluorescence export
  • Self-contained — vendored Cytoflow runtime, no extra installs
  • Pure Python — no compiled extensions
  • Designed for AI-assisted analysis

Installation

pip install zeztz-flow

Package name on PyPI is zeztz-flow (with hyphen), but the import is zeztzflow (no hyphen, no underscore):

import zeztzflow as flow

Using with marimo (uv-based)

# Install into existing marimo environment
uv pip install zeztz-flow

# Or create a new project
uv init my-fcs-analysis
cd my-fcs-analysis
uv add marimo zeztz-flow
uv run marimo edit

Development

git clone https://github.com/anomalyco/ZeztzFlow.git
cd ZeztzFlow
uv venv
uv pip install -e .
uv run python test/package_smoke_test.py

For conda-based setup: mamba env create -f environment.yml

Quick Start

Open a marimo notebook and paste this prompt to your AI agent:

Run a first-pass flow cytometry analysis using zeztzflow and marimo on the FCS files in path/to/fcs_directory. Before writing any code, find and read the docs of the installed packages — there should be a template for zeztzflow as well.

The agent reads AGENTS.md and _marimo_template.py from the installed package to follow the default pipeline, channel conventions, and marimo gotchas.

Documentation

Testing

MPLCONFIGDIR=/tmp/mplconfig python test/package_smoke_test.py

License

GPL-compatible. See LICENSE.txt and THIRD_PARTY_NOTICES.md.

Metadata

Release files for zeztz-flow 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zeztz-flow 0.2.4
File Size Uploaded
zeztz_flow-0.2.4.tar.gz 82.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zeztz-flow 0.2.4
File Interpreter ABI Platform
zeztz_flow-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 171.4 kB

Release files / zeztz_flow-0.2.4.tar.gz

Download URL zeztz_flow-0.2.4.tar.gz
Size 82.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5a4d8fcc57d98a0b49bdf7e50ae23784aa858f84c1a79b08785b2aa303e57c89
BLAKE2b-256 checksum
How to use checksums
3f6b30330f69986f96e19f64d5e0925c07e010c4bf874aa1e2dbecc999d450f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / zeztz_flow-0.2.4-py3-none-any.whl

Download URL zeztz_flow-0.2.4-py3-none-any.whl
Size 89.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e805e5e8c0c64eac9c701d38994bc106a1ce9f77b00ed200cdce267f1b52600f
BLAKE2b-256 checksum
How to use checksums
c82cba4afdc25f0fcf5fb599d8dc60ee930990597642142519d8378ae0fcb229
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page