DEV Community

Discussion on: PyDevTo - unofficial dev.to api for python

Collapse
 
rhymes profile image
rhymes

httpx looks very promising, does it work as basically a drop-in replacement for you?

yeah, for the most part, the only drawback is that httpx requires Python 3.6, it doesn't work with 3.5, but I see your library is already asking for 3.6.

I just switched my prototype client to httpx, you can see here: github.com/rhymes/devto-py/commit/...

I have yet to really use asyncio, I've looked at aiohttp but found it quite a bit more complicated

I've kinda given up on asyncio/aiohttp directly, they are really complicated. I'd like to try trio and/or starlette. But async, in general, is not easy :D