In the first two parts of this series, you learned the fundamentals of end-to-end encryption and how to implement strong symmetric encryption using AES. Now, let’s tackle asymmetric encryption in Python. This post covers public/private key cryptography, secure key exchange, and digital signatures—all with hands-on…
Advanced Polars: Going Big with Lazy Evaluation and Production Workflows (Part 3 of 3)
August 4, 2025
In Part 1, I hit pandas’ limits and turned to Polars for performance. In Part 2, I detailed how I migrated my pipeline and tackled common migration hurdles. Now, in this final part, I’ll show how I use Polars for large-scale data work: leveraging lazy…
You’ve probably used Python’s type() function to debug mysterious errors or check what kind of data you’re working with. But here’s the thing: most Python developers use type() incorrectly, leading to brittle code that breaks in unexpected ways. I’ve seen production systems crash because developers…
In Part 1, we explored what end-to-end encryption is and why it matters. We also covered the basics of symmetric and asymmetric encryption. Now, we’ll focus on symmetric encryption — specifically using the AES algorithm — and implement it safely and effectively in Python. Symmetric…
Here’s a fun thought experiment: imagine you’re sending a postcard through the mail, but instead of the postal workers just seeing the address, they can read your entire message, make copies, store it in their database, and share it with whoever they want. Sounds terrible,…
There I was at 2:47 AM on a Tuesday, staring at my laptop screen while my “quick data analysis” entered its fourth hour. The progress bar hadn’t moved in twenty minutes, my MacBook was making sounds that belonged in a server room, and I was…
Spreadsheets vs Python for Traders: My Journey Beyond Excel
August 1, 2025
You could say it all began back in June 1979. That’s when VisiCalc—the world’s first spreadsheet app—landed on the Apple II. Fast forward nearly forty years, and while VisiCalc is long gone, its grandchildren (hello, Excel!) are everywhere, especially in finance. I meet traders who…
How to Build a Modern Python API in 2025: FastAPI vs. Flask vs. Django Rest Framework
August 1, 2025
There’s never been a better (or more confusing) time to build an API in Python. Ten years ago, your options were “Flask or… did you say something else?” Now we’re spoiled: FastAPI, Flask, and Django Rest Framework (DRF) are all mature, battle-tested, and—let’s be honest—a…

