Skip to content

Pipeline construído com Python para extração, transformação e carregamento de dados de produtos. Utiliza MongoDB para armazenamento intermediário e MySQL para o armazenamento definitivo.

Notifications You must be signed in to change notification settings

millenagena/pipeline-python-mongo-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipeline-python-mongo-mysql

In this project, a data pipeline was developed following the workflow below:

image

In the notebook extract_and_save_data.ipynb, I start by extracting data from an API that contains information on sold products. Once the data is extracted, I store it in a MongoDB Atlas database.

Next, in the transform_data.ipynb notebook, I retrieve the data from the MongoDB database and apply various transformations. Once transformed, the data is saved in CSV files.

In the final notebook, save_data_mysql.ipynb, I use mysql.connector to establish a connection between Python and the MySQL Server on my local machine. Once connected, I create a database and a table to house the transformed data.

Additionally, in the scripts folder, you'll find several Python scripts where I've transformed the codes developed in these notebooks into Python functions.

This project was developed for a course I taught at Alura. As soon as the course is ready, I will make the link available here.

Technologies used

  • Python;
  • MongoDB Atlas;
  • MySQL;
  • Pymongo;
  • MySQL Connector/Python.

Contact

Email: [email protected]

About

Pipeline construído com Python para extração, transformação e carregamento de dados de produtos. Utiliza MongoDB para armazenamento intermediário e MySQL para o armazenamento definitivo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published