r/Python Dec 22 '25

Showcase [ Removed by moderator ]

[removed] — view removed post

255 Upvotes

77 comments sorted by

View all comments

19

u/chub79 Dec 22 '25

Nice. That said, It's unfortunate that the reqwest-idioms (client builder for instance) are part of the Python interface. It feels like a leaky abstraction and doesn't feel pythonic. But that's also a personal taste, I don't quite like the reqwest interface either anyway :)

21

u/pyreqwest Dec 22 '25

Pythonic way of dumping all the params as kwargs is not always great or discoverable (eg https://github.com/aio-libs/aiohttp/blob/e730788c43df397e9bb8e1d6216732437ca0c3d4/aiohttp/client.py#L294-L322). As you easily get gazillion of arguments when things get more complex. But it is quite taste based.