- Study sheets for the NHK Easy news and
- Other stuff run the
--helpto find out.
Follow these steps before your first time running the program:
- Get an OpenAI API key.
- Install
uv. - Download the Noto Sans JP font
- https://fonts.google.com/noto/specimen/Noto+Sans+JP
- put the
NotoSansJP-Regular.ttffile indata/font
You can apply configuration with environment variables:
OPENAI_API_KEYrequiredLOG_LEVELdefaultinfoFONT_PATHdefaultdata/fonts/NotoSansJP-Regular.ttf
Run the utility:
uv run study-sheet --helpThe dev group dependencies are installed by default, so just run pytest:
uv run pytest