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).

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 libraries under the MIT license into every page: 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.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 pytycho 0.3.0
File Size Uploaded Provenance Actions
pytycho-0.3.0.tar.gz 1.0 MB With provenance Details for pytycho-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / pytycho-0.3.0.tar.gz

Download URL pytycho-0.3.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
26d7a552e238323cc7f07d6b195d97e22d2a7a1be02d222203439b1494d96db2
BLAKE2b-256 checksum
How to use checksums
d6c4217c0f564337a0e268b5430cb4e65fabc9deb47413c65514d3c96233bf03
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 14, 2026.

Transparency log

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

Download URL pytycho-0.3.0-py3-none-any.whl
Size 302.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbf022a27e4cb27cc8b0a2570eea884a61e6623dc21418690c2cd0a9b9f534a9
BLAKE2b-256 checksum
How to use checksums
6b0e60ad1c7ec6aa1c23cdf30f7677274a06130de17eadb32ecd6d23912fdfdf
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 14, 2026.

Transparency log

Security for pytycho 0.3.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 pytycho-0.3.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 14, 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