Goga tool. Viewer for goga project visualization.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file goga_tool_viewer-1.0.0.tar.gz.
File metadata
- Download URL: goga_tool_viewer-1.0.0.tar.gz
- Upload date:
- Size: 332.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c90835125920367179140f2c54ff3cf710557eb5f88886fe627d7dbe14d72de
|
|
| MD5 |
d4de6b1d58e79b4bb65ca9c72eae85da
|
|
| BLAKE2b-256 |
f17fd2da18eeca6d0829e27ec2eb22befc9f11bd92e04827415099f7d7d65309
|
File details
Details for the file goga_tool_viewer-1.0.0-py3-none-any.whl.
File metadata
- Download URL: goga_tool_viewer-1.0.0-py3-none-any.whl
- Upload date:
- Size: 301.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0edfec97ad4b18b017f37e7bae0e90107087315fd578aaf19bf932d82f9d5440
|
|
| MD5 |
fcd61f9905b66c0431109d71c1c74bfa
|
|
| BLAKE2b-256 |
13f12a617b8694d305077d830fef5376b7019c9fb6a942a6518ea3f99589721c
|