This article appeared as a Pybites email first. If you like it consider joining our friends list for weekly Python, developer and (!) mindset content … Last year I built a cool API to post code images using our pybites-carbon tool. It will store the tip code in a database and store the code image in an… Continue reading Building a 500 line API regression test suite
Articles on carbon
What I have learned from an open-source project
By Leonieke Paalvast on 17 June 2022
What preceded it I like the Carbon images that appear on Twitter from Pybites. Out of curiosity, I took a look at the code on GitHub, but it was pretty overwhelming and intimidating, so I quickly moved on to something I did “understand.” I often follow a tutorial or collect items I might need one… Continue reading What I have learned from an open-source project
Generating Beautiful Code Snippets with Carbon and Selenium
By Bob Belderbos on 26 February 2019
Did you notice our Python tips lately? They looks more sexy, don’t they? That’s thanks to Carbon which lets you create beautiful images of your source code. As much as I love its interface though, what if we can automate this process generating the image for us? That’s what we did and posting new tips to Twitter is now a breeze. In this article I will show you how using a bit of BeautifulSoup and selenium. Enjoy!