Skip to main content

Typed Celestial HTML Observer (TyCHO)

PyPI version npm version Python versions CI Documentation Ruff uv DOI

TyCHO is our tool for making animated, interactive astrodynamics visualizations.

We created it from one idea: in the era of agentic coding, astrodynamics data visualization has no excuse to remain static, colorless, or otherwise dull.

Broucke families in the elliptic restricted three-body problem

You can check out live examples at our gallery. Playing around is encouraged!

What TyCHO produces

Each visualization is a single, portable HTML file, which we shall call page. You can open this page with a simple double click, from any machine that has a browser (mobile included), offline. Each page is interactive by design, with an intuitive user interface (UI) that needs no explanation or tutorial.

You can also embed the page in a website, retaining the interactive UI elements, or on a slide of an HTML presentation (see our slides repo for examples).

How TyCHO works

TyCHO is not a physics engine, but it does plot real data.

The core idea is:

  1. Generate your data from your preferred choice of trajectory optimization software (as of v0.3.0, all of our demos were generated with pydylan);
  2. Call pytycho, our python package that takes your data and efficiently compresses it into a binary container, data.tyd, and a JSON scene document with metadata, scene.tys;
  3. Draw the scene in the browser with our runtime renderer (built on three.js).
Architecture for TyCHO

Installing and using TyCHO

Install pytycho with the command below. The only requirements are Python and NumPy.

pip install pytycho

From here, we recommend checking out our quick start.

Using TyCHO with a coding agent

You can also ask your favorite coding agent to build a visualization for you. For this purpose, we ship a skill, i.e. a reusable prompt we crafted so that your agent will know how to write a TyCHO scene from your data.

From the Claude Code harness, you can also load the skill as a plugin from the marketplace with the command below.

claude plugin marketplace add beeson-group/tycho && claude plugin install tycho@beeson-group

For Codex, Cursor, Copilot, Gemini CLI, OpenCode, and other harnesses, you can install the same skill with the command below.

npx skills add beeson-group/tycho

Contributing

This repository is made of two halves, the Python package pytycho (in src/) and a TypeScript renderer that draws the page (the runtime, in web/). Follow the steps below to set up both on your machine.

  1. Install git, Node.js version 24 or later (which comes with npm), and uv.
  2. Clone the repository, and move into it.
    gh repo clone beeson-group/tycho
    cd tycho
    
  3. Build the runtime. Run this again if you change anything in web/.
    npm --prefix web ci && npm --prefix web run build
    
  4. Run the test suites. The first run of uv run will also create a virtual environment in .venv.
    uv run pytest
    npm --prefix web test
    
  5. Turn on the pre-commit checks.
    uvx pre-commit install
    

Before you open a pull request, please also read our group's contributing guide.

License

TyCHO is licensed under Apache-2.0. We also bundle two MIT libraries: three.js (for the renderer), and mp4-muxer (for video exports). See NOTICE and THIRD_PARTY_NOTICES.md for more information.

Metadata

Release files for pytycho 0.3.1

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

Source distribution (sdist)

Source distribution for pytycho 0.3.1
File Size Uploaded Provenance Actions
pytycho-0.3.1.tar.gz 1.1 MB With provenance Details for pytycho-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytycho 0.3.1
File Interpreter ABI Platform Actions
pytycho-0.3.1-py3-none-any.whl Python 3 none any Details for pytycho-0.3.1-py3-none-any.whl

Total release size: 1.4 MB

Release files / pytycho-0.3.1.tar.gz

Download URL pytycho-0.3.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
72929b8086b5a4232b43abd627069e87fae13f9a95835f4c2fab37d296cc4ab6
BLAKE2b-256 checksum
How to use checksums
6d7f9dc99a470730adde7ca45a0cac62e988ece1e9de4fe92164318af2dcc1df
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 21, 2026.

Transparency log

Release files / pytycho-0.3.1-py3-none-any.whl

Download URL pytycho-0.3.1-py3-none-any.whl
Size 304.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a97b3fa6404aa35740c443b035944ea75831be073344a07a9f750efcad59e1cc
BLAKE2b-256 checksum
How to use checksums
34957595f215a2a4fd3098a107e5dcb16fa7a70b6b73722c9b9f82f369355fb9
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 21, 2026.

Transparency log

Security for pytycho 0.3.1

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 pytycho-0.3.1.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 21, 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