How to run Python scripts (Hatch)
https://hatch.pypa.io/latest/how-to/run/python-scripts/
#Hatch
が
PEP 723 – Inline script metadata
をサポート(
#hatch_run
)
dependencies
requires-python
code:テーブル.toml
# /// script
# ...
#
tool.hatch
# installer = "pip"
# ///