Pyrallis is a framework for structured configuration parsing from both cmd and files. Simply define your desired configuration structure as a dataclass and let pyrallis do the rest!
Why do you think that https://github.com/sileod/xpflow is a good alternative to pyrallis