Python

Build anything with Python

My Experience Building a URL Shortener Like TinyURL

I built my own TinyURL-style URL shortener to explore how these systems work under the hood. From generating short codes to handling redirects and storage, this article covers my hands-on experience, the design decisions I made, and what I learned from building a URL shortener from scratch.

Visualizing Day and Night on Earth with Python (Real-Time World Map)

This article walks through building a Python-based day/night world map using Open-Meteo APIs and Cartopy. By combining geocoding, sunrise and sunset data, and astronomical calculations, we create a visualization that reveals how Earth’s rotation affects every location on the planet.

Getting Started with pytest

Testing your code doesn’t have to be stressful or complicated—especially when you have the right tools. In this beginner-friendly guide, you’ll discover how pytest makes testing in Python simple, readable, and fast, even if you’ve never written a test before.