Nice to see an alternative to dealing with bash, though was wondering why a shell based on a proper language like python wasn't considered
At the same time, the whole mission of these next-gen shell languages (Nushell, Elvish, Oil, Crush, Murex, NGS) is to provide a language that is at once a shell language suitable for daily interactive usage and a capable, general purpose programming language in its own right.
Truthfully, I don't think a better fit exists for this use case than one of these shell languages.
But sure, some people do use and love Xonsh, and you could make the case for using a Xonsh builder in this way as well.