Articles by Tag #sqlalchemy

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Versioning Your Database with SQLAlchemy and Alembic: From Models to Safe Migrations

SQLAlchemy and Alembic give you a safer, more controlled way to evolve your schema over time. In the...

Learn More 0 1Nov 19

Understanding Database Relationships in Flask-SQLAlchemy: `db.relationship` and `association_proxy`

Modeling relationships between tables is essential for representing data's real-world connections....

Learn More 0 0Oct 25

Reducing SQLAlchemy CRUD Boilerplate with a Type-Safe Repository Pattern

I’ve been working with FastAPI + SQLAlchemy, and one thing that always slowed our team down was the...

Learn More 2 0Dec 10

FastAPI Template

I’m excited to share my new open-source project: Fastapi-Template It’s designed to give you a solid...

Learn More 1 0Nov 10

Django ORM vs SQLAlchemy

🔹 Django ORM vs SQLAlchemy Both are Object Relational Mappers (ORMs) in Python, but they...

Learn More 0 0Aug 28

Easily Manage Database Migrations for your SQLAlchemy project With Alembic

Tired of manually updating your database schema every time your SQLAlchemy models change? In this...

Learn More 0 1Dec 7

Is '__tablename__' Compulsory in SQLAlchemy? Can We Change It?

📌 Is __tablename__ Compulsory in SQLAlchemy? Can We Change It? No, __tablename__ is not...

Learn More 5 0Mar 18

🔌 Building Resilient Database Operations with Async SQLAlchemy + CircuitBreaker

When building production applications, database failures are inevitable. Network issues, high load,...

Learn More 5 0Jul 14

🚀 A Better Way to Seed Data Using SQLAlchemy (Async-friendly)

In modern backend projects, especially with FastAPI and async SQLAlchemy, seeding initial data like...

Learn More 0 0Jul 1

Flask-Marshmallow vs. SQLAlchemy's SerializerMixin: Which One Should You Use?

When working with Flask and SQLAlchemy, serialization plays a crucial role in transforming database...

Learn More 1 0Jan 30

Modularizing SQLAlchemy Models with Mixins and Annotations

Building scalable and maintainable models often requires a modular approach, especially when...

Learn More 2 0Jan 3

Python Lesson 8: From Portal Architect to Soul Forger - Mastering Persistent State with SQLAlchemy

A craftsman is forging glowing souls into eternal crystals in a workshop filled with stardust and...

Learn More 1 0Sep 2

Safe Threading with SQLAlchemy in FastAPI

When building FastAPI applications that use SQLAlchemy for data persistence, you often need to...

Learn More 0 0Feb 14

Mastering SQLAlchemy Migrations: A Comprehensive Guide

Managing database schema changes can be a complex and error-prone process. As your application...

Learn More 0 0Jan 20

🚀 Mastering Unit of Work in SQLAlchemy: Efficient Transactions in 2025

How do you ensure database consistency while keeping your code clean? 🤔 💡 The Unit of Work (UoW)...

Learn More 0 0Mar 17

How to Use SQLAlchemy with Async Support in Flask

Using async with SQLAlchemy Asynchronous programming has become essential for building...

Learn More 2 0Apr 30

🚀 Evolving My FastAPI Project: Modular Architecture, Testing & MySQL Integration

Over the past few hours, I've been deep into refactoring one of my FastAPI projects with a clear...

Learn More 0 0Jun 30

ACID Operation in Backend Engineering: Building Data Integrity Like a Pro

When you build a banking app, an e-commerce checkout, or any critical backend system, data integrity...

Learn More 0 0Jul 24

Mastering SQLAlchemy Declarative Models

Have you even wondered how to build ORM models like a pro? In my latest article you can read...

Learn More 1 0Oct 13