python-data-engineering

Automate API-to-PostgreSQL data pipelines with SQLAlchemy 2.0 patterns.

3|2|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/AeyeOps/aeo-skill-marketplace --skill python-data-engineering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-data-engineering
Source: https://github.com/AeyeOps/aeo-skill-marketplace/tree/main/aeo-python/skills/python-data-engineering
Command: npx skills add https://github.com/AeyeOps/aeo-skill-marketplace --skill python-data-engineering

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides practical patterns and templates to build robust data pipelines in Python using SQLAlchemy 2.0, enabling clean separation between source systems, the data warehouse, and consuming applications. It covers advanced modeling patterns (TypeDecorator, hybrid properties, events), dimensional modeling conventions (dim_/fact_/stg_), slowly changing dimensions, and scalable ETL/ELT architectures with modern orchestration tools.

Core Features & Use Cases

  • Factory-based data transformation: convert API responses or raw data into strongly typed SQLAlchemy models with safe upserts and merges.
  • Dimensional modeling and warehouse patterns: apply Kimball-style star schemas, medallion layers, and SCD strategies to production analytics.
  • Incremental and resilient pipelines: implement high-water-mark incremental sync, JSONB-based schema resilience, and easy integration with dbt, Airflow, or Dagster.
  • End-to-end templates for multi-app reuse: single source of truth for transformations used across multiple data apps and services.

Quick Start

Create a minimal data pipeline by defining a SQLAlchemy model, a from_api_response factory, and a small ETL that reads JSON data and writes to PostgreSQL.

Frequently Asked Questions about python-data-engineering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build production-grade data pipelines in Python using SQLAlchemy 2.0?

To build data pipelines in Python with SQLAlchemy 2.0, you use factory-based data transformation patterns to convert API responses into strongly typed models, apply safe upserts, and enforce a three-layer architecture separating sources, warehouse, and applications.

What is the best way to implement incremental sync and schema resilience in PostgreSQL data pipelines?

For incremental sync in PostgreSQL data pipelines, you implement high-water-mark tracking and use JSONB-based schema resilience. This approach captures only changed records from source systems and handles evolving API schemas without breaking existing warehouse tables.

Can I use this approach for dimensional modeling with Kimball-style star schemas in Python?

Yes, you can apply Kimball-style dimensional modeling in Python by defining dim_, fact_, and stg_ table conventions. The patterns support slowly changing dimensions (SCD), medallion architectures, and advanced SQLAlchemy features like TypeDecorator and hybrid properties.

Does this data pipeline architecture support orchestration with dbt, Airflow, or Dagster?

Yes, the data pipeline architecture supports orchestration with dbt, Airflow, or Dagster. You can integrate these tools to schedule ETL/ELT workflows that move data from API sources into a PostgreSQL warehouse using the defined SQLAlchemy 2.0 transformation patterns.

How do I convert raw API responses into typed SQLAlchemy models for a data warehouse?

You convert raw API responses into typed SQLAlchemy models by using a from_api_response factory pattern. This transformation validates and maps unstructured JSON data directly into strongly typed database records ready for safe upserts and merges.

Why enforce a three-layer architecture for ETL workflows moving data into PostgreSQL?

Enforcing a three-layer architecture—source, warehouse, and application—in ETL workflows maintains a single source of truth. It cleanly separates raw API data ingestion from transformed warehouse tables and consuming application views, ensuring scalable and reusable analytics.