Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python SQLAlchemy ORM: Build Real-World Database Projects
New

Python SQLAlchemy ORM: Build Real-World Database Projects

Learn Python SQLAlchemy ORM, CRUD operations and database relationships by building 3 hands-on projects in JupyterLab.
Last updated 11/2026
English

What you'll learn

  • Understand the fundamentals of Object-Relational Mapping (ORM) in Python.
  • Explain how SQLAlchemy simplifies working with relational databases.
  • Install and configure Python, virtual environments, and JupyterLab.
  • Set up a Python development environment for SQLAlchemy projects.
  • Define database tables using Python classes and SQLAlchemy ORM models.
  • Understand how Python objects map to relational database tables.
  • Create and insert new database records using SQLAlchemy ORM.
  • Retrieve and query existing database records using SQLAlchemy.
  • Update existing database records using Python and SQLAlchemy.
  • Delete database records using SQLAlchemy ORM operations.
  • Perform complete Create, Read, Update, and Delete (CRUD) operations.
  • Define and work with relationships between database tables.
  • Build a practical Library Management database using SQLAlchemy.
  • Develop an Online Shopping database using Python ORM models.
  • Create a Student Gradebook database using SQLAlchemy ORM.
  • Apply SQLAlchemy ORM skills to practical Python database projects.

Course content

6 sections • 18 lectures • 2h 30m total length
  • Introduction1:53
  • Installing Python on Windows5:49
  • Installing Python on Mac6:42
  • Creating and activating a virtual environment on Windows7:42
  • Creating and activating a virtual environment on Mac6:33
  • Install JupyterLab on Windows9:01
  • Install JupyterLab on mac9:02
  • Before we start10:18
  • Course Files0:01

Requirements

  • Basic Python knowledge is helpful, including variables, functions and classes, but no advanced programming experience is required.
  • No prior SQLAlchemy or Object-Relational Mapping (ORM) experience is required. Everything is explained step by step.
  • A Windows or Mac computer with an internet connection for downloading and installing the required software.
  • Python and JupyterLab will be used throughout the course. Step-by-step installation and setup instructions are included for Windows and Mac users.
  • No paid software is required. Python, SQLAlchemy and JupyterLab are free and open-source tools.
  • A willingness to learn and practise. Students will build three hands-on database projects to reinforce their understanding.

Description

Have you ever wondered how Python applications store, retrieve, update, and manage information in relational databases?

Do you want to build database-driven applications without having to write SQL queries for every database operation?

Welcome to Python SQLAlchemy ORM: Build Real-World Database Projects!

This practical, beginner-friendly course will introduce you to SQLAlchemy, one of Python's most widely used database toolkits, and show you how to interact with relational databases using Python classes and objects.

Instead of getting lost in complicated theory, you'll learn through clear explanations, step-by-step demonstrations, and hands-on projects.

By the end of the course, you'll have developed a solid foundation in Object-Relational Mapping (ORM) and built three practical database projects using Python and SQLAlchemy.

What Is SQLAlchemy ORM, and Why Should You Learn It?

Modern applications rely on databases to manage everything from customer information and product catalogues to student records and business transactions.

SQLAlchemy ORM makes database programming more intuitive by allowing developers to represent database tables as Python classes and work with records as Python objects.

Rather than manually writing SQL statements for every operation, you can use Python code to interact with your database.

Learning SQLAlchemy can help you develop valuable skills for:

  • Python backend development

  • Database-driven software applications

  • Web application development

  • Data engineering and automation

  • Business applications and information systems

Whether you're expanding your Python knowledge or preparing to explore backend development, SQLAlchemy is a valuable addition to your programming toolkit.

What You'll Learn

Throughout this course, you'll learn how to:

  • Understand Object-Relational Mapping (ORM) and its role in Python database development.

  • Set up Python, virtual environments, and JupyterLab on Windows or Mac.

  • Understand SQLAlchemy ORM models and how they represent database tables.

  • Create and insert database records using Python.

  • Retrieve and query information from relational databases.

  • Update existing records and delete unwanted data.

  • Perform essential Create, Read, Update, and Delete (CRUD) operations.

  • Understand and work with relationships between database tables.

  • Apply SQLAlchemy concepts to practical database development projects.

You'll move from understanding ORM fundamentals to creating and managing real database applications with Python.

Build 3 Practical Database Projects

One of the best ways to learn programming is by building something useful.

That's why this course includes three hands-on projects designed to reinforce the skills you learn.

Project 1: Library Management Database

Build a database application for managing library information.

Practise using SQLAlchemy ORM models and database operations to organise and manage library records.

Project 2: Online Shopping Database

Explore how an online shopping application can organise and manage information using relational databases.

Apply Python ORM concepts to a practical e-commerce database scenario.

Project 3: Student Gradebook Database

Bring your SQLAlchemy knowledge together by building a student gradebook database.

Use Python and ORM techniques to manage student academic records in a structured database application.

These projects will help you connect programming concepts with real-world database development.

Learn with Python and JupyterLab

All practical demonstrations use Python and JupyterLab, providing an interactive environment where you can write, execute, and experiment with Python code.

You'll receive guidance on setting up your development environment, so you can concentrate on learning and practising SQLAlchemy.

Best of all, Python, SQLAlchemy, and JupyterLab are free and open-source. You don't need expensive software or paid database services to get started.

Who Is This Course For?

This course is ideal for:

  • Python beginners who want to take their programming skills beyond basic scripts.

  • Aspiring backend developers interested in building database-driven applications.

  • Software developers who want to learn SQLAlchemy ORM.

  • Computer science and IT students seeking practical database programming experience.

  • SQL developers and database professionals interested in working with databases through Python.

  • Aspiring data engineers who want to strengthen their Python database development foundations.

  • Self-taught programmers and career changers who enjoy learning through practical projects.

Basic familiarity with Python is helpful, but no previous SQLAlchemy or ORM experience is required.

Why Enrol in This Course?

Practical, hands-on learning: Learn by writing Python code and working with real database examples.

Beginner-friendly explanations: Understand ORM concepts without unnecessary complexity.

Three database projects: Reinforce your knowledge through Library Management, Online Shopping, and Student Gradebook applications.

Step-by-step development environment setup: Get started with Python, virtual environments, and JupyterLab.

Essential database programming skills: Learn CRUD operations, ORM models, and database relationships.

Learn at your own pace: Follow the lessons, practise the examples, and revisit concepts whenever needed.

Start Building Database Applications with Python Today!

Knowing Python is a great starting point. Learning how to connect Python applications to relational databases opens up even more possibilities.

With SQLAlchemy ORM, you can begin building applications that store, organise, retrieve, and manage real-world data.

Whether your goal is to become a backend developer, strengthen your Python skills, or simply understand how modern applications interact with databases, this course will help you build a practical foundation.

Stop just learning Python syntax. Start using Python to build real database applications.

Enrol today and take your next step into Python database development with SQLAlchemy ORM!

Who this course is for:

  • Python Beginners and Enthusiasts: Learners with basic Python knowledge who want to expand their programming skills by working with relational databases.
  • Aspiring Backend Developers: Individuals interested in building database-driven applications using Python and SQLAlchemy ORM.
  • Software Developers and Programmers: Developers who want to learn how to interact with relational databases using Python objects instead of writing SQL queries for every operation.
  • Data Analysts and Aspiring Data Engineers: Professionals looking to strengthen their Python database programming skills and understand how applications manage structured data.
  • Computer Science and IT Students: Students seeking practical experience with Object-Relational Mapping, database models, CRUD operations and relationships.
  • SQL Developers and Database Professionals: Individuals familiar with relational databases who want to explore Python-based database development using SQLAlchemy.
  • Hands-On Project-Based Learners: Anyone who prefers learning by building practical applications, including a Library Management System, Online Shopping Database and Student Gradebook.
  • Career Changers and Self-Taught Programmers: Motivated beginners looking to develop practical Python database skills as a foundation for further learning in software development.