Manejo de bases de datos con Python (Coursera)

Offered by Universidad Austral,
Manejo de bases de datos con Python (Coursera)

Este curso te permitirá conocer qué son las bases de datos relacionales y aprender a trabajar con ellas. El lenguaje SQL que es utilizado en las bases de datos relacionales para trabajar en la definición de los datos y en la manipulación de los mismos será uno de los temas que abordarás.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

Luego, emprenderás el trabajo con base de datos y cómo hacerlo desde Python. En primer lugar utilizando la librería sqlite3, que forma parte de la biblioteca estándar de Python. Esta librería se conecta directamente a la base de datos y puede ejecutar consultas con SQL desde Python. En segundo lugar, utilizarás la librería SQLAlchemy para poder tener un mapeo los modelos de nuestro sistema con la base de datos. Esta librería proporciona un mecanismo para realizar este mapeo de forma automática. De esta manera no hace falta estar escribiendo consultas SQL y hacer todo el mapeo manualmente.
Una vez que completes este curso, podrás diseñar y construir sistemas que persistan los datos de su sistema en una base de datos relacional.
Course 4 of 4 in the Aprende a programar con Python Specialization.
What You Will Learn

  • Comprender qué son y cómo funcionan las bases de datos relacionales.Crear sus propias bases de datos relacionales en SQLite.
  • Construir sistemas orientados a objetos que persistan sus datos en una base de datos relacional utilizando el mapeo objeto relacional de SQLAlchemy.
  • Escribir consultas SQL
  • Comprender que es el Mapeo Objeto Relacional

Syllabus

WEEK 1
Introducción a las bases de datos relacionales
¡Bienvenidos al primer módulo del curso! En este módulo abordaremos los siguientes contenidos: veremos qué son las bases de datos relacionales. Describiremos sus fundamentos y sus componentes, entre ellos detallaremos las relaciones, los registros y las columnas y se explicará qué es y para qué sirve una clave primaria y una clave foránea. Luego veremos que es la integridad de datos y detallaremos los diversos tipos de restricciones de integridad que implementa una base de datos relacional. Por último veremos qué son y para qué sirven los índices en las bases de datos relacionales.
Además describiremos cómo utilizar el motor de base de datos SQLite con el programa SQLite Browser, el cual utilizaremos durante el curso para hacer diversas pruebas.

WEEK 2
Lenguaje SQL
Avanzamos al módulo 2 de contenido. En esta semana aprenderemos el lenguaje de consultas SQL (del inglés, Structured Query Language). Primero veremos como crear, modificar y borrar tablas de la base de datos utilizando este lenguaje, para luego detallar cómo se realizan consultas de los datos y cómo se insertan, actualizan y borran registros de una tabla en la base de datos. Por último veremos cómo realizar consultas sobre tablas que están relacionadas.

WEEK 3
Manejo de bases de datos en Python
Llegamos al módulo 3 del curso. En esta semana trabajaremos con la librería sqlite3 que forma parte de la biblioteca estándar de Python. Se detalla qué son y para qué sirven las conexiones y los cursores de base de datos. Se explicará qué es una transacción y cómo las utiliza la librería. Luego trabajaremos insertando, actualizando, borrando y consultando objetos de la base de datos. Por último veremos qué son y para qué sirven las migraciones o cambios de esquema.

WEEK 4
Mapeo Objeto Relacional
Llegamos al último Módulo del curso. Felicitaciones por haber llegado hasta aquí. En esta semana aprenderemos que es el Mapeo Objeto Relacional (del inglés, ORM) y trabajaremos con la librería SQLAlchemy que implementa un ORM para Python. Se explicarán las bases de SQLAlchemy y se realizará la creación de modelos mapeados. Luego se guardarán objetos nuevos o modificaciones a uno existente y se borrarán objetos de la base de datos. Además veremos cómo se realizan las consultas en SQLAlchemy utilizando el objeto Query.
Por último veremos cómo relacionar dos modelos, con relaciones uno a muchos, muchos a uno, uno a uno y muchos a muchos.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Exam Prep DP-300: Azure Database Administrator Associate (Coursera) Coursera
Whizlabs

Exam Prep DP-300: Azure Database Administrator Associate (Coursera)

Database administration is one of the basic necessities of every enterprise. The growth of cloud and On-premises relational databases continues to create the need for professional database administrators. Therefore, an updated certification such as DP-300 could open up favorable options for employment of database administrators.

Aug 17th 2026
5-12 Weeks
An Introduction to Interactive Programming in Python (Part 1) (Coursera) Coursera
Rice University

An Introduction to Interactive Programming in Python (Part 1) (Coursera)

This two-part course is designed to help students with very little or no computing background learn the basics of building simple interactive applications. Our language of choice, Python, is an easy-to learn, high-level computer language that is used in many of the computational courses offered on Coursera. To make learning Python easy, we have developed a new browser-based programming environment that makes developing interactive applications in Python simple.

Aug 10th 2026
5-12 Weeks
Global Warming II: Create Your Own Models in Python (Coursera) Coursera
University of Chicago

Global Warming II: Create Your Own Models in Python (Coursera)

This class provides a series of Python programming exercises intended to explore the use of numerical modeling in the Earth system and climate sciences. The scientific background for these models is presented in a companion class, Global Warming I: The Science and Modeling of Climate Change. This class assumes that you are new to Python programming (and this is indeed a great way to learn Python!), but that you will be able to pick up an elementary knowledge of Python syntax from another class or from on-line tutorials.

Aug 10th 2026
5-12 Weeks
Big Data Analysis with Scala and Spark (Coursera) Coursera
École Polytechnique Fédérale de Lausanne

Big Data Analysis with Scala and Spark (Coursera)

Manipulating big data distributed over a cluster using functional concepts is rampant in industry, and is arguably one of the first widespread industrial uses of functional ideas. This is evidenced by the popularity of MapReduce and Hadoop, and most recently Apache Spark, a fast, in-memory distributed collections framework written in Scala. In this course, we'll see how the data parallel paradigm can be extended to the distributed case, using Spark throughout.

Aug 17th 2026
4 Weeks
Applied Plotting, Charting & Data Representation in Python (Coursera) Coursera
University of Michigan

Applied Plotting, Charting & Data Representation in Python (Coursera)

This course will introduce the learner to information visualization basics, with a focus on reporting and charting using the matplotlib library. The course will start with a design and information literacy perspective, touching on what makes a good and bad visualization, and what statistical measures translate into in terms of visualizations. The second week will focus on the technology used to make visualizations in python, matplotlib, and introduce users to best practices when creating basic charts and how to realize design decisions in the framework.

Aug 10th 2026
4 Weeks
Big Data Analysis with Scala and Spark (Scala 2 version) (Coursera) Coursera
École Polytechnique Fédérale de Lausanne

Big Data Analysis with Scala and Spark (Scala 2 version) (Coursera)

Manipulating big data distributed over a cluster using functional concepts is rampant in industry, and is arguably one of the first widespread industrial uses of functional ideas. This is evidenced by the popularity of MapReduce and Hadoop, and most recently Apache Spark, a fast, in-memory distributed collections framework written in Scala. In this course, we'll see how the data parallel paradigm can be extended to the distributed case, using Spark throughout.

Aug 17th 2026
4 Weeks
An Introduction to Interactive Programming in Python (Part 2) (Coursera) Coursera
Rice University

An Introduction to Interactive Programming in Python (Part 2) (Coursera)

This two-part course is designed to help students with very little or no computing background learn the basics of building simple interactive applications. Our language of choice, Python, is an easy-to learn, high-level computer language that is used in many of the computational courses offered on Coursera. To make learning Python easy, we have developed a new browser-based programming environment that makes developing interactive applications in Python simple.

Aug 10th 2026
4 Weeks
Llama for Python Programmers (Coursera) Coursera
University of Michigan

Llama for Python Programmers (Coursera)

Llama for Python Programmers is designed for programmers who want to leverage the Llama 2 large language model (LLM) and take advantage of the generative artificial intelligence (AI) revolution. In this course, you’ll learn how open-source LLMs can run on self-hosted hardware, made possible through techniques such as quantization by using the llama.cpp package.

Aug 17th 2026
3 Weeks
Introduction to Open Source Application Development (Coursera) Coursera
Illinois Tech

Introduction to Open Source Application Development (Coursera)

This course introduces basic concepts of systems programming using a modern open source language. You will learn to apply basic programming concepts toward solving problems, writing pseudocode, working with and effectively using basic data types, abstract data types, control structures, code modularization and arrays. You will learn to detect errors, work with variables and loops, and discover how functions, methods, and operators work with different data types. You will also be introduced to the object paradigm including classes, inheritance, and polymorphism.

Aug 17th 2026
5-12 Weeks