Skip to main content

goga-tool-viewer

Interactive dependency graph viewer for the goga ecosystem.

Visualizes cell dependency graphs as a single-page web application with hierarchical layout and click-to-inspect details. Includes a CODEMANIFEST viewer — click the "CODEMANIFEST" link in the info panel to view the raw YAML manifest for any cell.

Documentation: qarium.github.io/goga-tool-viewer

Installation

pip install goga-tool-viewer

Requires Python 3.10+. No external runtime dependencies.

Quick Start

Run from a JSON file:

goga tool viewer path/to/schema.json

Or pipe data via stdin:

goga schema | goga tool viewer

The tool prints a URL (e.g. http://localhost:PORT). Open it in a browser to see the interactive graph.

Web API

Once started, the HTTP server exposes:

Endpoint Description
GET / Single-page application with the graph viewer
GET /api/graph JSON data for the dependency graph
GET /api/codemanifest?cell=<path> CODEMANIFEST file content for a cell (text/plain, 200/400/404)

Integration

goga-tool-viewer is designed as a tool plugin for the goga CLI:

goga tool viewer data.json

It can also be used as a Python library:

from goga_tool_viewer import main

main(["path/to/data.json"])  # from file
main([])                     # from stdin

Development

Set up the environment:

python -m venv .venv
source .venv/bin/activate
pip install -e ".[test]"

Run tests:

pytest

Lint and format:

ruff check
ruff format

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

goga_tool_viewer-1.0.1.tar.gz (322.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goga_tool_viewer-1.0.1-py3-none-any.whl (283.6 kB view details)

Uploaded Python 3

File details

Details for the file goga_tool_viewer-1.0.1.tar.gz.

File metadata

  • Download URL: goga_tool_viewer-1.0.1.tar.gz
  • Upload date:
  • Size: 322.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for goga_tool_viewer-1.0.1.tar.gz
Algorithm Hash digest
SHA256 69ac394214c021d59d54836c98cd4defb489fcd9d66db9f8890f46eee8ddf4ab
MD5 bf96d2776b1c453290b5298ff63fe331
BLAKE2b-256 fef28e3987e484dc18e3c4719b250f6133bce53d7a6a2e4f260878d2be8c481d

See more details on using hashes here.

File details

Details for the file goga_tool_viewer-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for goga_tool_viewer-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a5f3a31442b534c781f2f44bdcff787aefc9f4d042c8fafc6498c59ae9815d0
MD5 79f67d7079b2d9736ca8ad3b6faa26bd
BLAKE2b-256 de652b03ee66ce9b190559774ac4091053a9743d4c27b98a3eb7bed63848c8cb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 files

1.0.0

2 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