gibMacOS
Py2/py3 script that can download macOS components direct from Apple
...Additional scripts help assemble downloaded components into macOS installer applications. On Windows, it can create Internet Recovery USB installers for macOS Catalina and earlier using external utilities. The project is particularly useful for macOS recovery, installation media preparation, and Hackintosh development. Its direct-download approach reduces reliance on unofficial software distribution websites.