PyCon Portugal 2026

David Asem

avid Asem is a Senior Software and AI Systems Engineer with over 8 years of professional experience building scalable software and intelligent systems. He specializes in full-stack engineering, machine learning, and production-grade AI systems, with a strong focus on designing solutions that solve real-world business problems.

He has worked across multiple industries, including insurance, fintech, healthcare, and financial markets, where he has led and contributed to systems that drive operational efficiency and business transformation. Currently, David is a Senior Full Stack Engineer at Starlife Assurance Limited, where he also leads AI initiatives focused on leveraging machine learning to enhance products and decision-making processes.

In addition to his role, David works as an independent consultant, helping organizations design and implement scalable software systems and AI-driven solutions across different industries.

David is deeply passionate about the role of AI and emerging technologies in accelerating growth across Africa. His mission is to make it easier for organizations across the continent to harness the power of AI and digital technology to build, scale, and transform their businesses.

Beyond his professional work, David is an active contributor to the global and African tech ecosystem. He has spoken at major conferences and communities including PyCon Africa, Google I/O Summit USA, Google Developer Group Accra, and the Ghana Data Science Summit. He also contributes as a mentor with programs such as the Deep Learning Indaba and Google Developer Exchange Program, supporting the next generation of engineers and researchers.

He has played a key role in community building, including pioneering and leading developer groups such as the Google Developer Student Club at KNUST. David is passionate about mentorship, leadership, and knowledge sharing, and continues to impact developers and organizations through speaking, consulting, and community engagement.


Session

09-05
14:30
120min
SQLAlchemy ORM: Building a Production-Grade Commodity Pricing API Without Raw SQL
David Asem

Managing a database and keeping application data in sync can become complex as Python applications grow. In this hands-on workshop, you’ll learn how to use SQLAlchemy ORM to structure database interactions and build clean, maintainable Python APIs. We will use a commodity pricing API as a practical example to demonstrate how real-world systems are designed.

We’ll cover how SQLAlchemy’s Object Relational Mapper (ORM) replaces scattered raw SQL with structured Python models, making database operations more consistent and easier to manage. Participants will learn how to define ORM classes, model relationships, and work with efficient query patterns.

We will also explore SQLAlchemy’s asyncio extension to show how modern Python applications interact with databases asynchronously.

Participants will leave with practical experience building a working API and a clear understanding of how to structure database-backed Python applications using SQLAlchemy ORM.

Workshop Room A