Curious if you give ours a try: https://stainlessapi.com (it's a commercial/non-oss option, but one language is free for smaller APIs). You can see an example of a Python library we generate here: https://github.com/Modern-Treasury/modern-treasury-python
* Pydantic v1 && v2 support
* Generate client as python-package
* Prometheus Metrics
Take a look, good stuff!