re: PyDevTo - unofficial dev.to api for python VIEW POST

FULL DISCUSSION
 

Looks cool @lpellis !

What led you to integrate the markdown converter? Interesting approach to revert embeds to their own liquid tag original.

ps. I've recently started switching my projects from requests to httpx, mostly because it's more modern, supports async and doesn't have the weird aura of its author around it :D

 

The motivation for this library is being able to publish posts from my blog to dev.to. My posts are html, and while dev.to kinda supports some html it didn't really work good enough for me, hence the markdown conversion. I figured this type of syndication might be a common use case and is actually tricky to get right, so hope others can find it useful.

httpx looks very promising, does it work as basically a drop-in replacement for you? I have yet to really use asyncio, I've looked at aiohttp but found it quite a bit more complicated.

 

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

code of conduct - report abuse