hatch-mypyc provides a build hook plugin for Hatch that compiles code with Mypyc.