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

Principles of Computing (Part 2) (Coursera) Coursera
Rice University

Principles of Computing (Part 2) (Coursera)

This two-part course introduces the basic mathematical and programming principles that underlie much of Computer Science. Understanding these principles is crucial to the process of creating efficient and well-structured solutions for computational problems. To get hands-on experience working with these concepts, we will use the Python programming language. The main focus of the class will be weekly mini-projects that build upon the mathematical and programming principles that are taught in the class.

Nov 2nd 2026
4 Weeks
Algorithmic Thinking (Part 2) (Coursera) Coursera
Rice University

Algorithmic Thinking (Part 2) (Coursera)

Experienced Computer Scientists analyze and solve computational problems at a level of abstraction that is beyond that of any particular programming language. This two-part class is designed to train students in the mathematical concepts and process of "Algorithmic Thinking", allowing them to build simpler, more efficient solutions to computational problems.

Nov 2nd 2026
4 Weeks
Applied Social Network Analysis in Python (Coursera) Coursera
University of Michigan

Applied Social Network Analysis in Python (Coursera)

This course will introduce the learner to network analysis through the NetworkX library. The course begins with an understanding of what network analysis is and motivations for why we might model phenomena as networks. The second week introduces the concept of connectivity and network robustness.. The third week will explore ways of measuring the importance or centrality of a node in a network. The final week will explore the evolution of networks over time and cover models of network generation and the link prediction problem.

Oct 26th 2026
4 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.

Nov 2nd 2026
5-12 Weeks
Algorithmic Thinking (Part 1) (Coursera) Coursera
Rice University

Algorithmic Thinking (Part 1) (Coursera)

Experienced Computer Scientists analyze and solve computational problems at a level of abstraction that is beyond that of any particular programming language. This two-part class is designed to train students in the mathematical concepts and process of "Algorithmic Thinking", allowing them to build simpler, more efficient solutions to computational problems.

Nov 2nd 2026
4 Weeks
Python and Statistics for Financial Analysis (Coursera) Coursera
The Hong Kong University of Science and Technology - HKUST

Python and Statistics for Financial Analysis (Coursera)

Python is now becoming the number 1 programming language for data science. Due to python’s simplicity and high readability, it is gaining its importance in the financial industry. The course combines both python coding and statistical concepts and applies into analyzing financial data, such as stock data.

Nov 2nd 2026
4 Weeks
Practical Python for AI Coding 2 (Coursera) Coursera
Korea Advanced Institute of Science and Technology - KAIST

Practical Python for AI Coding 2 (Coursera)

This course is for a complete novice of Python coding, so no prior knowledge or experience in software coding is required. This course selects, introduces and explains Python syntaxes, functions and libraries that were frequently used in AI coding. In addition, this course introduces vital syntaxes, and functions often used in AI coding and explains the complementary relationship among NumPy, Pandas and TensorFlow, so this course is helpful for even seasoned python users.

Oct 26th 2026
5-12 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.

Nov 2nd 2026
4 Weeks