hatch.project.utils.parse_inline_script_metadata

hatch.project.utils.parse_inline_script_metadata(script: str) dict[str, Any] | None

https://peps.python.org/pep-0723/#reference-implementation