# merzkan/python-nots architecture

> Architecture diagram of the GitHub repository merzkan/python-nots, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2024-12-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/merzkan/python-nots
- Repository: https://github.com/merzkan/python-nots

## Overview

##### Main Components Organization

a) Advanced Python Modules Section
- Related modules (DateTime, OS, RegEx, etc.)
- API integrations (GitHub, Exchange, Movie APIs)
- Web scraping components (BeautifulSoup)

b) Database Operations Section
- MySQL interface
- SQLite interface
- School Application subsystem
- Database management components

c) Data Analysis & Visualization Section
- NumPy components
- Pandas framework
- Matplotlib visualization

**[Learning Modules]**

**[Python     [Database    [Data Analysis]**
**Modules]    Operations]    Tools**

##### Detailed Component Breakdown

For each major section, include:

a) Advanced Python Modules:
- API Integration Hub (connecting to Exchange, GitHub, Movie APIs)
- Web Scraping Engine (BeautifulSoup implementations)
- JSON Processing Unit

b) Database Section:
- Database Connectors (MySQL, SQLite)
- School App Components:
- Class Management
- Student Management
- Teacher Management
- Lesson Management
- Query Operations (Select, Insert, Update, Delete)

c) Data Analysis Tools:
- NumPy Processing Unit
- Pandas Data Framework
- Matplotlib Visualization Engine

##### Connection and Flow Representation

- Data flow between components
- Dependencies between modules
- Integration points with external services
- Database operations flow

##### Additional Elements

Include:
- Version information for major components
- External service integration points
- Data flow direction indicators

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph "Learning Modules"
        CorePython["Core Python Modules"]:::core
        APIHub["API Integration Hub"]:::api
        WebScraping["Web Scraping Engine"]:::scraping
        DBOps["Database Operations"]:::db
        DataAnalysis["Data Analysis Tools"]:::analysis
    end

    subgraph "Core Python Components"
        DateTime["DateTime Module"]:::core
        OS["OS Module"]:::core
        RegEx["RegEx Module"]:::core
        JSON["JSON Module"]:::core
    end

    subgraph "API Components"
        Exchange["Exchange API"]:::api
        GitHub["GitHub API"]:::api
        Movie["Movie API"]:::api
    end

    subgraph "Web Scraping Components"
        BeautifulSoup["BeautifulSoup"]:::scraping
        IMDBScraper["IMDB Scraper"]:::scraping
        N11Scraper["N11 Scraper"]:::scraping
    end

    subgraph "Database Layer"
        DBConn["Database Connection"]:::db
        SQLite["SQLite Interface"]:::db
        MySQLHandler["MySQL/SQLite Handler"]:::db
        
        subgraph "School Application"
            MainApp["Main App"]:::app
            DBManager["Database Manager"]:::db
            ClassMgmt["Class Management"]:::app
            StudentMgmt["Student Management"]:::app
            TeacherMgmt["Teacher Management"]:::app
            LessonMgmt["Lesson Management"]:::app
        end

        subgraph "DB Operations"
            Select["Select Operations"]:::db
            Insert["Insert Operations"]:::db
            Update["Update Operations"]:::db
            Delete["Delete Operations"]:::db
        end
    end

    subgraph "Data Analysis Layer"
        NumPy["NumPy Framework"]:::analysis
        Pandas["Pandas Framework"]:::analysis
        Matplotlib["Matplotlib Visualization"]:::analysis
    end

    CorePython --> DateTime & OS & RegEx & JSON
    APIHub --> Exchange & GitHub & Movie
    WebScraping --> BeautifulSoup & IMDBScraper & N11Scraper
    DBOps --> DBConn
    DBConn --> SQLite & MySQLHandler
    MySQLHandler --> MainApp
    MainApp --> DBManager
    DBManager --> ClassMgmt & StudentMgmt & TeacherMgmt & LessonMgmt
    DBManager --> Select & Insert & Update & Delete
    DataAnalysis --> NumPy & Pandas & Matplotlib

    %% Click Events
    click DateTime "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/1._Datetime.py"
    click OS "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/2._os.py"
    click RegEx "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/3._re.py"
    click JSON "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/4._json.py"
    click Exchange "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/7.exchange_api.py"
    click GitHub "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/8.githubrest_api.py"
    click Movie "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/9.movie_api.py"
    click BeautifulSoup "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/10._BeautifulSoup.py"
    click IMDBScraper "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/11.IMDB_scraping.py"
    click N11Scraper "https://github.com/merzkan/Python-Nots/blob/main/Advanced Python Modules/12.Scraping_n11.py"
    click DBConn "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/connection.py"
    click SQLite "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/15.sqlite_db.py"
    click MySQLHandler "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/14.MYSQL_SQlite.py"
    click MainApp "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/school_app/App.py"
    click DBManager "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/school_app/Dbmanager.py"
    click ClassMgmt "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/school_app/Class.py"
    click StudentMgmt "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/school_app/Student.py"
    click TeacherMgmt "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/school_app/Teacher.py"
    click LessonMgmt "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/school_app/Lesson.py"
    click NumPy "https://github.com/merzkan/Python-Nots/tree/main/numpy/"
    click Pandas "https://github.com/merzkan/Python-Nots/tree/main/pandas/"
    click Matplotlib "https://github.com/merzkan/Python-Nots/tree/main/matplotlip/"
    click Select "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/5.select.py"
    click Insert "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/3.insert.py"
    click Update "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/10.updating.py"
    click Delete "https://github.com/merzkan/Python-Nots/blob/main/SQL Veritabanı - MySql & SQLite/11.delete.py"

    %% Styling
    classDef core fill:#a8d1ff,stroke:#333,stroke-width:2px
    classDef api fill:#ffb366,stroke:#333,stroke-width:2px
    classDef scraping fill:#fff176,stroke:#333,stroke-width:2px
    classDef db fill:#90ee90,stroke:#333,stroke-width:2px
    classDef analysis fill:#ff9999,stroke:#333,stroke-width:2px
    classDef app fill:#e6e6fa,stroke:#333,stroke-width:2px
```
