Jon Rumsey

An online markdown blog and knowledge repository.


Project maintained by nojronatron Hosted on GitHub Pages — Theme by mattgraham

MSFT Reactor Webinar: Python WebApps and ORMs

Host: Pamela Fox, Cloud Advocate in Python, MSFT

Connecting Python WebApps to DBs using ORM

Tools Used Today:

About DBs

Persist data across multiple users or computers.

DB's are also useful and performant for generating statistical reporting.

No-SQL (Document Databases):

Relational:

SQL Structured Query Language:

PostgreSQL

Features:

Playgrounds to try it out:

Use .env File:

YAML Files:

VSCode SQL Tools:

Demo Accessing DBs from Pythong

Call SQL via a DB Driver!

Utilize an ORM to interact safely:

Tip: Use any ORM options that allow viewing the actual SQL Statements that are called so it simplifies dev, test, and debugging.

Mapped As Data Class:

Flask and Databases

Flask:

Tip: Playwright can be used to test Flask and Django-based webapps!

Flask Migrations:

What type of querying are you using? Vector Search, or Retreival Augmented?

Vector Search:

RAG - Retreival-Augmented Generation:

Hosting DB Backed WebApps on Azure

Considerations:

Azure databases:

Bicep:

Resources

There will be a Docker-related MSFT Reactor session on Tuesday June 18th "Python Web Apps: Containerization with Docker".

Return to ContEd Index

Return to Root README