You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplified extras picture after mat-vis architecture review
The mat-vis design discussion has collapsed most of the extras this issue originally scoped:
Eliminated extras:
[cad] — build123d dependency is reversed (they depend on us, not us on them). Not our extra to manage.
[sci] — uncertainties (~59 KB) and periodictable (~800 KB) become core deps, not optional. They're tiny and used by the majority of users.
[viz] — The mat-vis client is pure Python (~150-300 lines), ships inside the mat wheel itself. No pyarrow, no DuckDB, no binary deps. Just urllib.request + the JSON index + a companion rowmap for HTTP range reads. No extra needed.
Remaining question:
[matproj] (pymatgen) — This is a curation-time tool, not an install-time dependency for end users. Leaning toward dropping it as an extra entirely (document it as a dev/curation requirement instead).
Net result:pip install mat gives you everything — physics, scalars, PBR textures, the works. ~2 MB wheel, no extras needed for any standard use case.
Recommendation: This issue's scope has largely collapsed. Suggest either closing it or converting it to a single focused task: "make uncertainties + periodictable core deps and remove [sci] extra."
Activity
gerchowl commentedon Apr 16, 2026
Simplified extras picture after mat-vis architecture review
The mat-vis design discussion has collapsed most of the extras this issue originally scoped:
Eliminated extras:
[cad]—build123ddependency is reversed (they depend on us, not us on them). Not our extra to manage.[sci]—uncertainties(~59 KB) andperiodictable(~800 KB) become core deps, not optional. They're tiny and used by the majority of users.[viz]— The mat-vis client is pure Python (~150-300 lines), ships inside thematwheel itself. Nopyarrow, no DuckDB, no binary deps. Justurllib.request+ the JSON index + a companion rowmap for HTTP range reads. No extra needed.Remaining question:
[matproj](pymatgen) — This is a curation-time tool, not an install-time dependency for end users. Leaning toward dropping it as an extra entirely (document it as a dev/curation requirement instead).Net result:
pip install matgives you everything — physics, scalars, PBR textures, the works. ~2 MB wheel, no extras needed for any standard use case.Recommendation: This issue's scope has largely collapsed. Suggest either closing it or converting it to a single focused task: "make
uncertainties+periodictablecore deps and remove[sci]extra."gerchowl commentedon Apr 17, 2026
Done on
docs/refresh-readme-2.1.0: periodictable to core, stale extras removed. Only[dev]remains. Ships in 2.2.0.