Skip to main content

cells

A living microscope slide in your terminal, inspired by the quiet procedural animation of cbonsai and asciiquarium.

Macrophages and neutrophils pursue microbes, wrap them in membrane cups, and digest them. Bacterial chains, spirochetes, vibrios, coccal colonies, budding yeast, and trypanosomes share the slide with red blood cells, branching fungi, and bacteriophages. Watch mitosis, viral replication and lysis, nutrient gathering, and swimmers following fungal branches. Occasional arrivals keep long runs varied. Rare rotifer visitors, neutrophil DNA traps, and nutrient micropipettes add occasional longer vignettes. Use --observe for captions or --no-events to disable them; --calm excludes micropipettes.

This is biological illustration with exaggerated sizes and timing, rather than a scientific model.

Installation

Python 3.10+ with the standard-library curses module is required. Linux and macOS are supported platforms; Windows users should use WSL. There are no third-party runtime dependencies. Some Linux distributions package curses separately.

Install a published release in its own environment with pipx:

pipx install terminal-cells
cells

The distribution is named terminal-cells; its executable is cells.

Examples

cells --seed 42
cells --theme amber --speed 0.7
cells --ascii --screensaver
cells --scene microbial --calm
cells --theme light --observe
cells --diagnostics
cells --interactive
cells --snapshot --seed 42 --size 100x32 --at 30

Use a terminal of at least 80 columns by 24 rows; 120 by 40 gives the detailed organisms more space. --theme mono selects grayscale, and NO_COLOR=1 disables colors in automatic mode; --color always overrides it. Use --color never to explicitly disable colors. Snapshots are plain ASCII and work without an interactive terminal, including Python builds without curses.

Press q or Escape to quit, Space to pause, +/- to change speed, r for a new slide, s for observations, and ? for help with a colored species legend. Screensaver mode exits on any key. Terminal resizing is supported.

Opt into microscope tools with --interactive: 1 Inspect, 2 Lyse, 3 Feed, and 4 Stir. Left-click or use arrows/hjkl, Tab, and Enter. A single bottom line shows ? help, leaving the rest of the screen for animation. Tools apply immediately; keyboard targeting also works when mouse reporting is unavailable.

Released under Zero-Clause BSD (SPDX: 0BSD). Attribution and copyleft are not required for downstream use or redistribution.

Metadata

Release files for terminal-cells 0.1.0

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

Source distribution (sdist)

Source distribution for terminal-cells 0.1.0
File Size Uploaded Provenance Actions
terminal_cells-0.1.0.tar.gz 1.7 MB With provenance Details for terminal_cells-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for terminal-cells 0.1.0
File Interpreter ABI Platform Actions
terminal_cells-0.1.0-py3-none-any.whl Python 3 none any Details for terminal_cells-0.1.0-py3-none-any.whl

Total release size: 1.8 MB

Release files / terminal_cells-0.1.0.tar.gz

Download URL terminal_cells-0.1.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
b6ff320183c096f5126dca827143d0daed9d7613baaac54c147b2575645bcf46
BLAKE2b-256 checksum
How to use checksums
352aceac6bca9eec58d6b08728292d20aba5ecf2ce339151aac546f51e6f4890
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / terminal_cells-0.1.0-py3-none-any.whl

Download URL terminal_cells-0.1.0-py3-none-any.whl
Size 56.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f8bb96105f63692a139b2f90d543e1df72a7ae574229ee53ec7615c59652f34
BLAKE2b-256 checksum
How to use checksums
86dd4934a51d6d73516640bd77777c36ef98dcf6c5689dd43ec359ab4f3d4213
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Security for terminal-cells 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for terminal_cells-0.1.0.tar.gz

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 Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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