Repository navigation
feat: add mat-vis-client Python package - #50
Merged
Merged
Conversation
Polyhaven API nesting fix + bake git commit fix.
Split git add, polyhaven categories list fix.
Bundle of bake fixes.
) ## Summary - 4 reference clients (Python, JS, Rust, Shell) with tests - Dagger test infrastructure for all client languages - Python client: search, prefetch, adapters (to_threejs, to_gltf, export_mtlx) - 49 Python tests (39 mocked + 10 live) - Parallel downloads: 10× ambientcg, 8× polyhaven - Bake workflow fixes: git push permissions, artifact upload, index JSON to release - Pre-release data flow + promote-data-release workflow
Manifest rebuilds from release assets. GPUOpen trailing slash + field names. Parallel bake/pack. Perf summary.
7 commits: sub-1k tiers (128/256/512), derive command, catalog+thumbnails, client rowmap merging, weekly watch.
- Containerfile: COPY gh from ghcr.io/cli/cli:latest (no apt-get per batch) - Dagger _baker_container: FROM ghcr.io/morepet/mat-vis-baker:latest - Instant batch container startup instead of 2-3 min gh install
Restructure the Python reference client as an installable package: pip install clients/python/ (or PyPI: pip install mat-vis-client) Package: clients/python/src/mat_vis_client/ __init__.py — module-level API (search, fetch, prefetch, etc.) client.py — MatVisClient class adapters.py — to_threejs, to_gltf, export_mtlx (generic) - Module-level convenience functions ported from py-mat's _client.py - seed_indexes() exposed as public helper - Fix: rowmap_entry() reads parquet_file from per-channel data - Old mat_vis_client.py → mat_vis_client_standalone.py - 49 tests passing Zero deps. Pure Python. ~750 lines. Refs: #36, #3
gerchowl
added a commit
that referenced
this pull request
Apr 17, 2026
PR #50 client package + accumulated fixes.
6 tasks
gerchowl
added a commit
that referenced
this pull request
May 15, 2026
Package structure verified, 49 tests pass, imports OK.
gerchowl
added a commit
that referenced
this pull request
May 15, 2026
PR #50 client package + accumulated fixes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Restructure the Python reference client as an installable package
(
pip install mat-vis-client), enabling py-mat to import itinstead of vendoring.
Changes
clients/python/src/mat_vis_client/— proper package layout__init__.py— module-level API (search, fetch, prefetch,rowmap_entry, get_manifest, seed_indexes)
client.py— MatVisClient class (from mat_vis_client.py)adapters.py— to_threejs, to_gltf, export_mtlx (generic)clients/python/pyproject.toml— hatchling, zero depsclients/python/tests/test_client.py— 49 tests, all passingrowmap_entry()readsparquet_filefrom per-channeldata (works with merged partitioned rowmaps)
Test plan
PYTHONPATH=clients/python/src pytest clients/python/tests/ -v— 49 passedpython -c "from mat_vis_client import search, fetch, to_threejs"— imports OKRefs: #36, #3