This Is How Marie Kondo Sets up Her Pytest | Issue #45


Hi there,

Be honest—how much do you enjoy writing tests? If the answer is “not at all,” chances are your setup is too complicated.

In this week’s video, I show you how to set up pytest the right way—step by step, with zero fluff. I go from zero tests to a fully working pytest setup, covering advanced tricks along the way (including one almost nobody knows about). 🧪

By the end, your tests will be clean, fast, and easy to maintain. No more fighting with pytest configurations.

If your test suite could use a little Marie Kondo magic, watch the video now. 🎥

Happy testing!

Cheers,

Arjan

# News

Supercharge Your Data Processing with Polars!

If you’re tired of waiting for Pandas to crunch through your large datasets, it might be time to check out Polars—a lightning-fast DataFrame library built for performance. 🐻‍❄️

Real Python just released a fantastic course on working with Python Polars, showing how to leverage its speed and efficiency for data manipulation. 🚀

Want to level up your data workflows? Check out the course here.

The Beauty of Ugly Code

We all strive to write clean, elegant code—but what if ugly code is sometimes the right choice? Armin Ronacher (creator of Flask) recently shared a thought-provoking article on why ugly code isn’t always bad. In fact, it can be a pragmatic, necessary response to real-world constraints.💡

His post challenges conventional wisdom, reminding us that practicality beats purity when it comes to software design. 💬 Read the full article here.

# Community

One of our community members, coDHe, has just published their first Python package, yamllm-core! 🎉 This package simplifies development and prototyping of LLMs by allowing users to store configuration files efficiently. It also features a neat CLI integration using the rich package.

coDHe has written an article about their experience, sharing insights, GitHub links, and more. They’re looking for feedback from fellow developers!

If you enjoy exploring new tools, learning from real-world coding experiences, or providing constructive feedback to fellow devs, check out the discussion on ArjanCodes Discord server! 🗨️💡


Do you enjoy my content on YouTube and would you like to dive in deeper? Check out my online courses below. They've helped thousands of developers take the next step in their careers.

🚀 The Mindset Online Course Series

The goal of this series is to help junior developers grow their skills to become senior developers faster.

💥 Other Courses

💡 If you’re part of a development team at a company, I offer special packages for companies that give your team the tools to consistently write high-quality code and dramatically increase your team's productivity.

Unsubscribe | Send by ArjanCodes

Jan van Eijklaan 2-4, Bilthoven, UT 3723 BC

The Friday Loop

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.

Read more from The Friday Loop

Hi there, Ever looked at your old code and felt secondhand embarrassment? Yeah, me too. Keeping your code simple and maintainable is an art. In today’s video, I break down 10 essential tips that will help you write cleaner, more efficient Python code. 🚀 Some key takeaways: 🛑 Stop overengineering—simple solutions are often the best. ✂️ Cut the copy-paste habit—DRY code is maintainable code. 🧹 Refactor before your code turns into a horror movie. Happy coding! 🐍 Cheers, Arjan # News How Do...

Hi there, Have you ever hesitated before hitting git merge or git rebase because… well, who actually understands Git? 🤯 Good news! In this week’s video, I walk through a real-world FastAPI project and show exactly how to merge, fast-forward, and rebase—step by step. No fluff, just practical Git skills you’ll actually use. Plus, I’m sharing some advanced Git tricks to make your workflow smoother. Happy coding and enjoy the video! Cheers, Arjan # News Build TUI Apps with Python’s Textual Ever...

Hi there, You’ve probably heard the phrase: “Coupling is bad.” But what if I told you that coupling is actually necessary? The real issue isn’t that your code has coupling—it’s that some types of coupling are worse than others. 🚨 In this week’s video, I dive into three real-world examples of bad coupling and show you how to refactor them into better designs. We’ll tackle: Global coupling – Why global variables cause headaches and how to avoid them Content coupling – When modules dig too deep...