lucapug / DataTalksClub-Projects

Automated analysis and visualization of DataTalksClub course projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DataTalksClub-Projects

Streamlit App

Table of Contents

Introduction

DataTalksClub-Projects is a Python repository aimed at automating the analysis of projects from DataTalksClub courses. It focuses on data from ML Zoomcamp, MLOps Zoomcamp and DE Zoomcamp for the years of 2021-2023. The repository includes Python scripts for tasks like web scraping, data handling, and API interactions. The Data/ folder contains all the datasets I have generated for the courses. It also aims to implement comprehensive tests and data visualizations.

Note: Titles for projects are generated using OpenAI and may require refinement. Future course iterations should include project titles for easier processing.

Folder Structure

.
├── Data/               # Data files
├── src/                # Python source files
├── tests/              # Test files (TBD)
├── utils/              # Utility files
├── .env                # Environment variables
├── .gitignore          # Git ignore rules
├── LICENSE             # License file
├── Makefile            # Makefile for automation
├── README.md           # This file
├── app.py              # Streamlit app
├── help.log            # Unknown titles
├── pyproject.toml      # Build settings
└── requirements.txt    # Dependency list

Getting Started

Clone the Repository

git clone https://github.com/yourusername/DataTalksClub-Projects.git
cd DataTalksClub-Projects

Environment Setup

pip install --upgrade pip
pip install -r requirements.txt

Environment Variables

To run this project, you'll need to add a .env file in your project root. Replace your_openai_api_key_here and your_github_access_token_here with your actual OpenAI API key and GitHub access token, respectively.

Makefile Usage

The Makefile included in this repository provides a convenient way to run various tasks. Below are the commands you can use:

Run tests (TBD)

This command will run all the unit tests and integration tests for the project.

make test

Quality Checks

Run this command to perform code quality checks. It includes isort, black and pylint.

make quality_checks

Scrape Data

Use this command to scrape data from specified sources. The data will be saved in the appropriate format and location.

make scrape

Generate Titles

This command will generate titles for the projects using OpenAI's API.

make titles

Check Deployments

Run this command to check the deployment status of project services such as web, batch or streaming.

make deploy

Run All Tasks

This command is a shortcut to run all of the above tasks in sequence. It's a quick way to ensure that everything is set up correctly.

make all

Streamlit app

Run the Streamlit app using the Makefile

make streamlit

CI/CD Pipeline (TBD)

This repository includes a Continuous Integration (CI) workflow that automatically builds and tests the Python project upon each push or pull request. This ensures that the codebase remains stable and free of errors as new changes are integrated.

The CI workflow is configured to perform the following tasks:

  • Code quality checks
  • Unit tests
  • Integration tests

Configuration Files

  • .gitignore: Specifies files and folders to ignore in Git.
  • LICENSE: Contains the license information.
  • Pipfile & Pipfile.lock: Manage project dependencies.
  • pyproject.toml: Contains build-related settings.

Contributing (Coming soon)

  1. Fork the repository.
  2. Create a new feature branch.
  3. Make changes.
  4. Run tests (TBD).
  5. Submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, connect with me on Linkedin

Support this project

Donate with PayPal

About

Automated analysis and visualization of DataTalksClub course projects.

License:MIT License


Languages

Language:Python 99.0%Language:Makefile 1.0%