Files
alex 51b10438a9 Restructure into backend/ and frontend/ subprojects
- backend/ uses proper Python src layout (src/media_library_viewer_api/)
  with pyproject.toml, hatchling build, and PYTHONPATH=src convention
- frontend/ is a Vite + React + TypeScript SPA
- archive/ preserves the original Streamlit prototype for reference
- Cleaned up root to only contain docs, license, and subproject dirs
- Updated README for the new dual-subproject architecture
2026-04-30 21:48:46 +02:00

24 lines
553 B
Python

"""Convenience Streamlit entrypoint.
The real application lives in :mod:`media_library_viewer.app` under ``src/`` so
that the project can be packaged and reused by other frontends later. This file
keeps the simple development command working:
streamlit run app.py
"""
from __future__ import annotations
import sys
from pathlib import Path
SRC = Path(__file__).resolve().parent / "src"
if str(SRC) not in sys.path:
sys.path.insert(0, str(SRC))
from media_library_viewer.app import main # noqa: E402
if __name__ == "__main__":
main()