​​ Build a Usage Rating and Billing Pipeline with Python and PostgreSQL
Use Case

Build a Usage Rating and Billing Pipeline with Python and PostgreSQL

Group: Use Case

Product Category: Cloud & Data Engineering

Sub Category: Data Platform Engineer

Solution Available

Source code, datasets, and other related files for the solution will be provided.

Prerequisites

SQL basics Python basics relational database fundamentals basic ETL concepts

About this Product

Cobalt Mobile needs a repeatable way to convert voice call detail records into billable charges, but today an analyst does it manually without proving how many records were read, loaded, or dropped — a revenue-assurance risk.

What you build

  • Python ingestion pipeline: read daily voice usage CSV files into records; validate each against business rules (missing IDs, duplicates, invalid rate plans, malformed usage and timestamps).
  • Rating and transformation: look up rate plans in PostgreSQL, round usage to billable minutes, compute charge amounts for valid records.
  • Idempotent warehouse load: use PostgreSQL INSERT ... ON CONFLICT upsert to load rated records so re-running the same file never creates duplicates.
  • End-to-end pipeline: ingest, validate, rate, load, and reconcile in a single orchestrated workflow with clear logging at each stage.

Skills you practise

  • File ingestion and validation: parse CSV data, handle malformed values, apply layered business rules.
  • ETL fundamentals: extract from CSV and PostgreSQL lookup, transform and rate, load idempotently into a warehouse.
  • PostgreSQL and Python integration: connect with psycopg2, write parameterized queries, implement upsert logic.

Outcome

  • Production-like pipeline: a tested, working end-to-end workflow with sample data, rejects output, and reconciliation report.
  • Portfolio evidence: documented code and results proving hands-on ETL and revenue-assurance data engineering.

Interview Q&A Included

1 practice set bundled with this lab

  • Usage Rating and Billing Pipeline Assessment

    Usage Rating and Billing Pipeline Assessment

    Category: Data Engineering Subcategory: Data Engineer 29 questions

    This assessment checks what you learned while building the usage rating and billing pipeline for Cobalt Mobile. It is split into five groups: the business scenario, business and technical rules …

Resources

1/4
Cobalt Mobile Daily Voice Usage Rating Pipeline Business Requirements
Cobalt Mobile Daily Voice Usage Rating Pipeline Business Requirements
| PDF

The complete brief for the usage rating and billing pipeline: the problem, the rules, the sample data and how success is measured.

  • Business scenario: Cobalt Mobile turns daily call records into billable charges, but today an analyst does it by hand
  • Ten numbered business and technical rules, from record validation to rounding up minutes and pricing each call
  • Sample usage file, rate plan lookup data and the invalid rows your pipeline must reject
  • Workflow, expected charges and edge cases for loading, rejects and reconciliation
  • Eight acceptance criteria that define when the lab is complete
  • Technology stack, project structure and a step by step implementation plan
Enroll to Access
Build a Usage Rating and Billing Pipeline with Python and PostgreSQL
44% OFF

Topics

Python PostgreSQL SQL

Skills

Python PostgreSQL SQL ETL Pipelines Data Validation Revenue Assurance Billing Reconciliation

Languages

English

Level

Beginner

Business Domain

Telecom Billing and Revenue Assurance

$4.99 $8.99
Includes 1 Interview Q&A set

Labs • Projects • Practice

Similar Products

> more hands-on labs picked for you_

33% OFF
Build a Stock Availability Model Release Pipeline with MLflow and Docker
Use Case

Build a Stock Availability Model Release Pipeline with MLflow and Docker

Build a Stock Availability Model Release Pipeline with MLflow and Docker is a MLOps use case lab that builds a …

MLOps Model Registry & Versioning Container Deployment CI/CD for Machine Learning Model Drift Monitoring API Security & Audit +4 more +3 more +2 more

Level

Intermediate

Time

6.0 hrs

Language

English

50% OFF
Build a Farm Water RAG Copilot with Qdrant and FastAPI
Business Requirement

Build a Farm Water RAG Copilot with Qdrant and FastAPI

Build a Farm Water RAG Copilot with Qdrant and FastAPI is a GenAI business requirement lab that builds Rillmark Water …

Retrieval-Augmented Generation Vector Databases Chunking & Retrieval LLM Evaluation API Security & Access Control +3 more +2 more +1 more

Level

Intermediate

Time

12.0 hrs

Language

English

33% OFF
Build a Governed Student Intervention Agent Team with Python
Use Case

Build a Governed Student Intervention Agent Team with Python

Build a Governed Student Intervention Agent Team with Python is an advanced, GenAI use case lab that builds Beacon, a …

Multi-Agent Orchestration Tool Governance Human-in-the-Loop Workflows LLM Evaluation Observability & Tracing AI Safety & Guardrails +4 more +3 more +2 more +1 more

Level

Advanced

Time

10.0 hrs

Language

English

44% OFF
Design a Shipment Tracking Data Model and Pipeline with PostgreSQL
Capstone Project

Design a Shipment Tracking Data Model and Pipeline with PostgreSQL

Shipment Tracking Data Model and Pipeline with PostgreSQL is a beginner-level data engineering project for a fictional freight logistics company. …

Data Modeling ETL Pipeline Design Relational Database Design Data Validation & Quality Exception Detection SQL Reporting +4 more +3 more +2 more

Level

Beginner

Time

24.0 hrs

Language

English

50% OFF
Build a Property Pricing Data Warehouse with DuckDB and Python
Capstone Project

Build a Property Pricing Data Warehouse with DuckDB and Python

Build a Property Pricing Data Warehouse with DuckDB and Python is a data engineering product that builds CompVantage — a …

Data Engineering Dimensional Modeling Medallion Architecture Data Governance ETL Pipeline Design Data Quality & Validation +4 more +3 more +2 more +1 more

Level

Intermediate

Time

24.0 hrs

Language

English

44% OFF
Build a Governed Fleet Route Data Platform with Python and DuckDB
Capstone Project

Build a Governed Fleet Route Data Platform with Python and DuckDB

Build a Governed Fleet Route Data Platform with Python and DuckDB is a data engineering product that builds the complete …

Data Engineering Batch Pipeline Design DAG Orchestration Data Governance Data Quality & Validation Observability & Monitoring +4 more +3 more +1 more

Level

Beginner

Time

16.0 hrs

Language

English

50% OFF
Build a Real Time Retail Sales Pipeline with Kafka Python and Google BigQuery
Use Case

Build a Real Time Retail Sales Pipeline with Kafka Python and Google BigQuery

Build a Real Time Retail Sales Pipeline with Kafka, Python and Google BigQuery is a data engineering product that builds …

Event Streaming Data Engineering Kafka Consumer Design Google BigQuery Integration Idempotent Data Loading Data Validation & DLQ +4 more +3 more +2 more

Level

Intermediate

Time

4.0 hrs

Language

English

33% OFF
Build a Real Time Retail Sales Pipeline with Kafka PySpark and PostgreSQL
Use Case

Build a Real Time Retail Sales Pipeline with Kafka PySpark and PostgreSQL

Build a Real Time Retail Sales Pipeline with Kafka, PySpark and PostgreSQL is an intermediate-level data engineering product that builds …

Event Streaming Data Engineering PySpark Structured Streaming Idempotent Data Loading Data Validation & DLQ Kafka Integration +4 more +2 more

Level

Intermediate

Time

4.0 hrs

Language

English

32% OFF
Enterprise Data Security & Governance Implementation using Snowflake
Business Requirement

Enterprise Data Security & Governance Implementation using Snowflake

Enterprise Data Security & Governance Implementation using Snowflake is a practical implementation guide that teaches you how to build a …

Snowflake Security Data Governance Role-Based Access Control (RBAC) Dynamic Data Masking Row Access Policies Data Classification Audit Logging Regulatory Compliance Healthcare Analytics +7 more +5 more +4 more +3 more +2 more

Level

Advanced

Language

English

33% OFF
Enterprise Sales Analytics Data Warehouse Design with Kimball Modeling & SCD Implementation
Business Requirement

Enterprise Sales Analytics Data Warehouse Design with Kimball Modeling & SCD Implementation

Enterprise Sales Analytics Data Warehouse Design with Kimball Modeling & SCD Implementation is a practical implementation guide that teaches you …

Data Warehousing Kimball Dimensional Modeling Star Schema Slowly Changing Dimensions Change Data Capture SQL Data Engineering Business Intelligence Real-Time Analytics +7 more +6 more +5 more +3 more +2 more +1 more

Level

Advanced

Language

English

33% OFF
Enterprise Customer 360 Data Platform Implementation using Natural Keys, Row Hashes & Medallion Architecture
Business Requirement

Enterprise Customer 360 Data Platform Implementation using Natural Keys, Row Hashes & Medallion Architecture

Enterprise Customer 360 Data Platform Implementation using Natural Keys, Row Hashes & Medallion Architecture is a practical implementation guide that …

Customer 360 Data Engineering ETL Pipeline Design Medallion Architecture Entity Resolution Natural Key Matching Data Integration Data Warehousing Master Data Management +7 more +6 more +5 more +4 more +3 more +2 more

Level

Advanced

Language

English

40% OFF
Historical Dimension Tracking & SCD Pipeline Implementation Using PySpark and PostgreSQL
Capstone Project

Historical Dimension Tracking & SCD Pipeline Implementation Using PySpark and PostgreSQL

Historical Dimension Tracking & SCD Pipeline Implementation Using PySpark and PostgreSQL is a practical implementation guide that teaches you how …

PySpark Slowly Changing Dimensions (SCD) PostgreSQL Data Warehousing Dimensional Modeling Temporal Data Modeling Data Engineering ETL Pipeline Development +6 more +5 more +4 more +3 more +1 more

Level

Intermediate

Time

10.0 hrs

Language

English

37% OFF
Real Time Kafka Consumer Data Ingestion into RAW Layer Using PySpark
Business Requirement

Real Time Kafka Consumer Data Ingestion into RAW Layer Using PySpark

Real-Time Kafka Consumer Data Ingestion into RAW Layer Using PySpark is a practical implementation guide that teaches you how to …

PySpark Structured Streaming Apache Kafka Streaming Data Engineering Real-Time Data Ingestion Kafka Consumers ETL Pipeline Development +4 more +3 more +2 more

Level

Intermediate

Language

English

40% OFF
Healthflow Analytics Platform with Snowflake & Medallion Architecture
Capstone Project

Healthflow Analytics Platform with Snowflake & Medallion Architecture

Healthflow Analytics Platform with Snowflake & Medallion Architecture is a healthcare data engineering capstone project that demonstrates how to build …

Snowflake Data Engineering Healthcare Analytics ETL Pipeline Design Medallion Architecture Data Governance Data Warehousing Snowflake Administration +5 more +4 more +3 more +1 more

Level

Intermediate

Time

8.0 hrs

Language

English

30% OFF
FinTech Banking ETL Pipeline with PySpark Delta Lake and Medallion Architecture
Capstone Project

FinTech Banking ETL Pipeline with PySpark Delta Lake and Medallion Architecture

NovaPay ETL Pipeline is an advanced data engineering capstone project that builds a production-grade ETL pipeline for a fictional digital …

Data Engineering ETL Pipeline Design Medallion Architecture Data Quality & Validation Incremental Processing Delta Lake & Lakehouse +4 more +3 more +2 more

Level

Advanced

Language

English

40% OFF
Full Stack IPL Cricket Analytics Dashboard and Statistics Platform
Capstone Project

Full Stack IPL Cricket Analytics Dashboard and Statistics Platform

IPL Analytics Dashboard is an advanced, full-stack capstone project that transforms 17 years of Indian Premier League ball-by-ball match data …

Full Stack Development Data Ingestion & Pipeline REST API Development Database Design Data Visualization User Authentication +4 more +3 more +1 more

Level

Advanced

Language

English

Demo

View
50% OFF
Retail Banking EDA & Transaction Analytics Platform
Capstone Project

Retail Banking EDA & Transaction Analytics Platform

Retail Banking EDA & Transaction Analytics Platform is an advanced, full-stack capstone project that takes you through the complete data …

Data Engineering Exploratory Data Analysis Full Stack Development Database Design Regulatory Compliance REST API Design Data Visualization +5 more +4 more +2 more +1 more

Level

Intermediate

Time

8.0 hrs

Language

English

Demo

View
40% OFF
AI Powered Meeting Notes Generator
Capstone Project

AI Powered Meeting Notes Generator

AI Powered Meeting Notes Generator is an intermediate-level, full-stack capstone project that transforms raw meeting recordings and transcripts into clean, …

AI Integration Full Stack Development Speech-to-Text LLM Prompt Engineering Async Processing REST API Design +4 more +3 more

Level

Intermediate

Time

8.0 hrs

Language

English

Demo

View
40% OFF
Full Stack Service Booking Marketplace with Consultant Subscription Model
Capstone Project

Full Stack Service Booking Marketplace with Consultant Subscription Model

BookMyService is a beginner-friendly, full-stack capstone project that simulates a real-world two-sided service marketplace — where users can discover and …

Full Stack Development SaaS Marketplace Authentication & Security Subscription Management Role-Based Access Control REST API Design +4 more +3 more +2 more

Level

Intermediate

Time

8.0 hrs

Language

English

Demo

View

Expert Guidance

Similar Services

1:1 help from industry experts who can guide you through labs like this one.

Finding the best experts for you...

Learner Feedback

Top User Reviews

Loading reviews...