Dev.to has a pretty awesome community for sharing coding knowledge. I wanted to republish my posts to them (and also link to the comments) so I ma...
For further actions, you may consider blocking this person and/or reporting abuse
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.
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'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".. and used this very library to make this post"
Best part of the article ever.
Cool stuff, do you know if there is a similar thing but for JS? If not, I might give it a go! Or might create a post on how to create an API library for JS...