a

    Alex Cano

    2 years ago
    Yeah definitely. I’ve built out and am maintaining a Fast API app for work, so I’m definitely familiar with trying to keep as much async as possible when you’re already living in async world. It makes you very conscious of your blocking calls and where it’s “correct” to put them. We’ve been using aiohttp, but we’ve heard good things about httpx as well. Mirroring the requests API is really helpful because it can get other devs on board faster
    Scott Zelenka

    Scott Zelenka

    2 years ago
    I'll second httpx, much easier to work with than aiohttp
    Jeremiah

    Jeremiah

    2 years ago
    Yeah, httpx is awesome
    a

    Alex Cano

    2 years ago
    Gonna go read through those docs, and probably will be writing a ticket to do a migration! Would love an easier to use experience the aiohttp. It’s great and all, but you can kinda tell it was the first iteration
    Jeremiah

    Jeremiah

    2 years ago
    httpx is an evolution of
    requests-async
    which was a pure requests API translation, so it’s pretty easy to use!
    and IIRC will be supporting both async and synchronous calls in an upcoming release