Blog Archives: Blog (page 5)

How to Create Cron Jobs in Python for Your Applications

How to Create Cron Jobs in Python for Your Applications

Learn how to build a generic, configurable cron job class in Python with APScheduler — run periodic tasks in the background with clean scheduling, logging, and error handling.

Continue Reading
Logging in a Flask Application with Loguru

Logging in a Flask Application with Loguru

Learn how to centralize logging in a Flask application with Loguru, including stdout/file outputs and standard logging interception.

Continue Reading
Managing Application Configuration in Python with Pydantic Settings

Managing Application Configuration in Python with Pydantic Settings

Learn how to manage Python application configuration using pydantic-settings, combining YAML files for non-secret parameters and environment variables for secrets.

Continue Reading
Building a Python Command Line Interface (CLI) with the Command Pattern

Building a Python Command Line Interface (CLI) with the Command Pattern

Learn how to design a clean, extensible Python CLI using argparse and the Command design pattern — each command as an isolated, testable class.

Continue Reading
How to Set Up Your Next Python Project

How to Set Up Your Next Python Project

A practical guide to setting up a professional Python project with the right tools for package management, code quality, testing, and version control.

Continue Reading
Building a CRUD Web Application with Flask: Three-Tier Architecture with SQLAlchemy and Pydantic

Building a CRUD Web Application with Flask: Three-Tier Architecture with SQLAlchemy and Pydantic

A complete CRUD web app in Flask: presentation, application, and database tiers, with controllers, services, Pydantic DTOs, and SQLAlchemy models.

Continue Reading
Beyond Push and Pull: Understanding Git's Core Concepts to Avoid Common Pitfalls

Beyond Push and Pull: Understanding Git's Core Concepts to Avoid Common Pitfalls

Git's core concepts explained: local vs remote, staging, stash, and HEAD, and how each command moves your changes between them.

Continue Reading