An open API service indexing awesome lists of open source software.

https://github.com/1ayanabil1/databases-with-the-python

Learn how to work with SQL and NoSQL databases in Python using SQLite, MySQL, and MongoDB. Hands-on notebooks following the official Udemy course.
https://github.com/1ayanabil1/databases-with-the-python

data-science database jupyter-notebook mongodb mongodb-database mysql nosql python sql sqlite udemy-course

Last synced: 2 months ago
JSON representation

Learn how to work with SQL and NoSQL databases in Python using SQLite, MySQL, and MongoDB. Hands-on notebooks following the official Udemy course.

Awesome Lists containing this project

README

          

![course](https://github.com/1AyaNabil1/Databases-with-the-Python/blob/main/img/11.png)
# Databases with Python (MySQL, SQLite, MongoDB)

This repository follows the Udemy course:
[Databases with Python: MySQL, SQLite, MongoDB](https://www.udemy.com/course/databases-with-python-mysql-sqlite-mongodb-with-python/learn/lecture/29159188#overview)

It contains well-organized, practical notebooks for each section of the course, along with sample databases used throughout.

---

## 📁 Folder Structure

```
Databases-with-the-Python/
├── MongoDB/
│ ├── MongoDB with Python.ipynb
│ └── Use MongoDB with Python.ipynb
├── MySQL/
│ └── MySQL with Python.ipynb
├── SQLite/
│ └── SQLite with Python.ipynb
├── data_testing.db # SQLite test database
├── Databases-with-the-Python.code-workspace
```

---

## 🔍 Contents

### ✅ SQLite

* How to connect SQLite to Python
* Creating tables, inserting data, querying data

### ✅ MySQL

* Connecting Python to MySQL
* Executing basic SQL queries

### ✅ MongoDB

* Installing and using `pymongo`
* Working with documents and collections
* CRUD operations in MongoDB using Python

---

## 🚀 How to Use

1. Clone the repo:

```bash
git clone https://github.com/1AyaNabil1/Databases-with-the-Python.git
```
2. Open in VS Code or Jupyter Lab.
3. Run each notebook to follow along with the course.

---

## 📚 Course Reference

Udemy Course Link: [Databases with Python](https://www.udemy.com/course/databases-with-python-mysql-sqlite-mongodb-with-python/)

---

## 🧠 Contributions

Each notebook and file was committed individually to reflect progress through the course. Feel free to fork and enhance it for your own learning path!

---

## 🛠 Requirements

* Python 3.7+
* Jupyter Notebook
* `pymongo`, `mysql-connector-python`, `sqlite3`

You can install all dependencies via:

```bash
pip install -r requirements.txt
```

> *Note: MongoDB and MySQL should be installed locally or accessible remotely for the relevant notebooks.*