# dhrumilbhatia/30-days-of-python architecture

> Architecture diagram of the GitHub repository dhrumilbhatia/30-days-of-python, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dhrumilbhatia/30-days-of-python
- Repository: https://github.com/dhrumilbhatia/30-days-of-python

## Overview

30 Days of Python is a guided beginner-to-advanced learning challenge, organized as 30 daily lessons with examples and exercises. A learner follows the README roadmap, studies concepts, then practices them in the day directories; later topics cover data work and web/API development. The repository also includes a small Flask demonstration app with home, about, post, and result routes. The app excerpt shows rendering and redirect behavior, but its POST handler does not show text analysis. Unsampled day contents are represented only at their documented topic level.

Main entry points: [`readme.md`](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/readme.md) (30-Day Roadmap), [`11_Day_Functions`](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/11_Day_Functions) (Functions & Modules), [`12_Day_Modules/main.py`](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/12_Day_Modules/main.py) (Module Examples), [`05_Day_Lists/country.py`](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/05_Day_Lists/country.py) (Country List Exercises)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Python Foundations"]
  node_roadmap["30-Day Roadmap<br/>[readme.md]"]
  node_intro["Introduction"]
  node_basics["Values &amp; Operators"]
  node_strings["Strings &amp; Collections"]
end

subgraph group_programming["Core Programming"]
  node_control["Conditions &amp; Loops"]
  node_functions["Functions &amp; Modules"]
  node_module_examples["Module Examples<br/>[main.py]"]
  node_shared_module["Reusable Examples<br/>[mymodule.py]"]
  node_country_examples["Country List Exercises<br/>[country.py]"]
  node_errors_time_files["Errors, Time &amp; Files"]
  node_packages_classes["Packages &amp; Classes"]
end

subgraph group_data["Data Skills"]
  node_country_names["Country Names<br/>[countries.py]"]
  node_scraping["Web Scraping"]
  node_statistics["Statistics &amp; Pandas"]
  node_country_records["Country Records<br/>[countries-data.py]"]
end

subgraph group_applications["Applied Python"]
  node_web_programming["Web Programming"]
  node_mongodb["MongoDB"]
  node_api_topics["APIs"]
  node_api_building["Building APIs"]
end

subgraph group_webdemo["Web Demonstration"]
  node_flask_app["Flask Routes<br/>[app.py]"]
  node_templates["HTML Templates"]
end

node_learner(("Learner"))
node_visitor(("Web Visitor"))

node_learner -->|"follows"| node_roadmap
node_roadmap -->|"starts with"| node_intro
node_roadmap -->|"covers next"| node_basics
node_roadmap -->|"covers next"| node_strings
node_roadmap -->|"covers next"| node_control
node_roadmap -->|"covers next"| node_functions
node_functions -->|"continues with"| node_module_examples
node_module_examples -->|"imports"| node_shared_module
node_roadmap -->|"covers later"| node_errors_time_files
node_roadmap -->|"covers later"| node_packages_classes
node_roadmap -->|"covers later"| node_scraping
node_roadmap -->|"covers later"| node_statistics
node_roadmap -->|"covers later"| node_web_programming
node_roadmap -->|"covers later"| node_mongodb
node_roadmap -->|"covers later"| node_api_topics
node_roadmap -->|"covers later"| node_api_building
node_country_examples -->|"imports"| node_country_names
node_roadmap -.->|"practices with"| node_country_examples
node_statistics -.->|"includes analysis examples"| node_country_records
node_visitor -.->|"requests pages"| node_flask_app
node_flask_app -->|"renders"| node_templates

click node_roadmap "https://github.com/dhrumilbhatia/30-days-of-python/blob/master/readme.md"
click node_intro "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/01_Day_Introduction"
click node_basics "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/02_Day_Variables_builtin_functions"
click node_strings "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/04_Day_Strings"
click node_control "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/09_Day_Conditionals"
click node_functions "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/11_Day_Functions"
click node_module_examples "https://github.com/dhrumilbhatia/30-days-of-python/blob/master/12_Day_Modules/main.py"
click node_shared_module "https://github.com/dhrumilbhatia/30-days-of-python/blob/master/mymodule.py"
click node_country_examples "https://github.com/dhrumilbhatia/30-days-of-python/blob/master/05_Day_Lists/country.py"
click node_country_names "https://github.com/dhrumilbhatia/30-days-of-python/blob/master/data/countries.py"
click node_errors_time_files "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/15_Day_Python_type_errors"
click node_packages_classes "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/20_Day_Python_package_manager"
click node_scraping "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/22_Day_Web_scraping"
click node_statistics "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/24_Day_Statistics"
click node_country_records "https://github.com/dhrumilbhatia/30-days-of-python/blob/master/data/countries-data.py"
click node_web_programming "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/26_Day_Python_web"
click node_mongodb "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/27_Day_Python_with_mongodb"
click node_api_topics "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/28_Day_API"
click node_api_building "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/29_Day_Building_API"
click node_flask_app "https://github.com/dhrumilbhatia/30-days-of-python/blob/master/python_for_web/app.py"
click node_templates "https://github.com/dhrumilbhatia/30-days-of-python/tree/master/python_for_web/templates"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_roadmap,node_intro,node_basics,node_strings toneBlue
class node_control,node_functions,node_module_examples,node_shared_module,node_country_examples,node_errors_time_files,node_packages_classes toneAmber
class node_country_names,node_scraping,node_statistics,node_country_records toneMint
class node_web_programming,node_mongodb,node_api_topics,node_api_building toneRose
class node_flask_app,node_templates,node_learner,node_visitor toneIndigo
```

## Components

### Python Foundations

- [30-Day Roadmap](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/readme.md): `readme.md`
- [Introduction](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/01_Day_Introduction): `01_Day_Introduction`
- [Values & Operators](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/02_Day_Variables_builtin_functions): `02_Day_Variables_builtin_functions`
- [Strings & Collections](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/04_Day_Strings): `04_Day_Strings`

### Core Programming

- [Conditions & Loops](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/09_Day_Conditionals): `09_Day_Conditionals`
- [Functions & Modules](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/11_Day_Functions): `11_Day_Functions`
- [Module Examples](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/12_Day_Modules/main.py): `12_Day_Modules/main.py`
- [Reusable Examples](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/mymodule.py): `mymodule.py`
- [Country List Exercises](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/05_Day_Lists/country.py): `05_Day_Lists/country.py`
- [Errors, Time & Files](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/15_Day_Python_type_errors): `15_Day_Python_type_errors`
- [Packages & Classes](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/20_Day_Python_package_manager): `20_Day_Python_package_manager`

### Data Skills

- [Country Names](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/data/countries.py): `data/countries.py`
- [Web Scraping](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/22_Day_Web_scraping): `22_Day_Web_scraping`
- [Statistics & Pandas](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/24_Day_Statistics): `24_Day_Statistics`
- [Country Records](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/data/countries-data.py): `data/countries-data.py`

### Applied Python

- [Web Programming](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/26_Day_Python_web): `26_Day_Python_web`
- [MongoDB](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/27_Day_Python_with_mongodb): `27_Day_Python_with_mongodb`
- [APIs](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/28_Day_API): `28_Day_API`
- [Building APIs](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/29_Day_Building_API): `29_Day_Building_API`

### Web Demonstration

- [Flask Routes](https://github.com/dhrumilbhatia/30-days-of-python/blob/master/python_for_web/app.py): `python_for_web/app.py`
- [HTML Templates](https://github.com/dhrumilbhatia/30-days-of-python/tree/master/python_for_web/templates): `python_for_web/templates`

### Other components

- **Learner**
- **Web Visitor**

## Connections

- Learner → 30-Day Roadmap: follows (evidence: `readme.md`)
- 30-Day Roadmap → Introduction: starts with (evidence: `readme.md`)
- 30-Day Roadmap → Values & Operators: covers next (evidence: `readme.md`)
- 30-Day Roadmap → Strings & Collections: covers next (evidence: `readme.md`)
- 30-Day Roadmap → Conditions & Loops: covers next (evidence: `readme.md`)
- 30-Day Roadmap → Functions & Modules: covers next (evidence: `readme.md`)
- Functions & Modules → Module Examples: continues with (evidence: `readme.md`)
- Module Examples → Reusable Examples: imports (evidence: `12_Day_Modules/main.py`)
- 30-Day Roadmap → Errors, Time & Files: covers later (evidence: `readme.md`)
- 30-Day Roadmap → Packages & Classes: covers later (evidence: `readme.md`)
- 30-Day Roadmap → Web Scraping: covers later (evidence: `readme.md`)
- 30-Day Roadmap → Statistics & Pandas: covers later (evidence: `readme.md`)
- 30-Day Roadmap → Web Programming: covers later (evidence: `readme.md`)
- 30-Day Roadmap → MongoDB: covers later (evidence: `readme.md`)
- 30-Day Roadmap → APIs: covers later (evidence: `readme.md`)
- 30-Day Roadmap → Building APIs: covers later (evidence: `readme.md`)
- Country List Exercises → Country Names: imports
- 30-Day Roadmap → Country List Exercises: practices with
- Statistics & Pandas → Country Records: includes analysis examples
- Web Visitor → Flask Routes: requests pages
- Flask Routes → HTML Templates: renders (evidence: `python_for_web/app.py`)
