[–] erhosen 2y ago ↗ * Sync/Async clients* Pydantic v1 && v2 support* Generate client as python-package* Prometheus MetricsTake a look, good stuff!
[–] physicsguy 2y ago ↗ When I've ever tried to use these sorts of things, they're almost always pretty clunky. They can be an OK basis for building a client library on top of, but you rarely want to expose things exactly as the API does. [–] erhosen 2y ago ↗ Did you see that it can build a client library by itself? [–] physicsguy 2y ago ↗ Yes, that's the premise of most OpenAPI generators... the issue is whether they're one that's actually nice to use. [–] rattray 2y ago ↗ Yeah, most are pretty crappy.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
[–] erhosen 2y ago ↗ Did you see that it can build a client library by itself? [–] physicsguy 2y ago ↗ Yes, that's the premise of most OpenAPI generators... the issue is whether they're one that's actually nice to use. [–] rattray 2y ago ↗ Yeah, most are pretty crappy.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
[–] physicsguy 2y ago ↗ Yes, that's the premise of most OpenAPI generators... the issue is whether they're one that's actually nice to use. [–] rattray 2y ago ↗ Yeah, most are pretty crappy.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
[–] rattray 2y ago ↗ Yeah, most are pretty crappy.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
5 comments
[ 1.9 ms ] story [ 22.0 ms ] thread* Pydantic v1 && v2 support
* Generate client as python-package
* Prometheus Metrics
Take a look, good stuff!
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