|
Every Friday, you'll get a recap of the most important and exciting Python and coding news. The Friday Loop also keeps everyone posted on new ArjanCodes courses and any limited offers coming up.
Hi there, Tired of writing the same code over and over when building APIs? With SQLModel, you can define your database schema and your API models in a single place, saving tons of time and reducing errors. ⚡️ But beware—it’s important to avoid exposing sensitive data. In this week’s video, I break down exactly how to use SQLModel with FastAPI, and share a few key lessons on how to do it right. Watch the full video to level up your API game! 🎥Enjoy the video and happy coding! Cheers, Arjan #...
Hi there, Publishing your Python package should NOT be an obstacle course! In today’s video, I’ll show you how to automate your entire release process with GitHub Actions—yes, from creating a version tag all the way to publishing the package on PyPi. 🛠️ I’ll also cover Trusted Publishers on PyPi, so you can securely authenticate without relying on static API keys. And here’s the BEST part: the workflow is fully customizable, so you can tweak it to fit your exact needs, whether you’re using...
Hi there, Ever struggled with code duplication? It can creep into your projects in ways you’d never expect. 🚨 In this week’s video, I’ll show you some tricky examples of duplicated code that might not be obvious at first glance. 👀 I also explain why simply following the DRY principle can sometimes make things worse. I’ll walk you through a refactor of one such case and even show you an example where not removing duplication is the better choice! Watch until the end of the video for some BONUS...