Database Access With Python

Learning PathSkills: SQL Libraries, SQLite, SQLAlchemy, Redis, MySQL, MongoDB, ChromaDB, Data Management, NoSQL Databases, Vector Databases

A person sitting on a chair and working on a computer that controls a large machine that is linked up to a big database

Master database access in Python. Explore SQL libraries, manage data with SQLite and SQLAlchemy, integrate Redis, connect to MySQL and MongoDB, and work with ChromaDB for embeddings and vector databases. Start your journey to efficient data handling today!

Database Access With Python

Learning Path ⋅ 6 Resources

Title image for Introduction to Python SQL Libraries (Introduction to Python SQL Libraries)

Tutorial

Introduction to Python SQL Libraries

Learn how to connect to different database management systems by using various Python SQL libraries. You'll interact with SQLite, MySQL, and PostgreSQL databases and perform common database queries using a Python application.

Title image for SQLite and SQLAlchemy in Python: Move Your Data Beyond Flat Files (Data Management With Python, SQLite, and SQLAlchemy)

Course

SQLite and SQLAlchemy in Python: Move Your Data Beyond Flat Files

Learn how to store and retrieve data using Python, SQLite, and SQLAlchemy as well as with flat files. Using SQLite with Python brings with it the additional benefit of accessing data with SQL. By adding SQLAlchemy, you can work with data in terms of objects and methods.

Title image for How to Use Redis With Python (How to Use Redis With Python)

Tutorial

How to Use Redis With Python

In this step-by-step tutorial, you'll cover how to use both Redis and its Python client library. You'll learn a bite-sized slice of Redis itself and master the redis-py client library.

Title image for Python and MySQL Database: A Practical Introduction (Python and MySQL Database: A Practical Introduction)

Tutorial

Python and MySQL Database: A Practical Introduction

Learn how to connect your Python application with a MySQL database. You'll design a movie rating system and perform some common queries on it. You'll also see best practices and tips to prevent SQL injection attacks.

Title image for Python and MongoDB: Connecting to NoSQL Databases (Introduction to MongoDB and Python)

Tutorial

Python and MongoDB: Connecting to NoSQL Databases

Learn how to use Python to interface with the NoSQL database system MongoDB. You'll get an overview of the differences between SQL and NoSQL, and you'll also learn about related tools, including PyMongo and MongoEngine.

Title image for Embeddings and Vector Databases With ChromaDB (Embeddings and Vector Databases With ChromaDB)

Tutorial

Embeddings and Vector Databases With ChromaDB

Vector databases are a crucial component of many NLP applications. This tutorial will give you hands-on experience with ChromaDB, an open-source vector database that's quickly gaining traction. Along the way, you'll learn what's needed to understand vector databases with practical examples.

Got feedback on this learning path?

Looking for real-time conversation? Visit the Real Python Community Chat or join the next “Office Hours” Live Q&A Session. Happy Pythoning!

« Browse All Learning Paths