# sovan65/automation-assignments architecture

> Architecture diagram of the GitHub repository sovan65/automation-assignments, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/sovan65/automation-assignments
- Repository: https://github.com/sovan65/automation-assignments

## Overview

This repository’s runtime product is a small JSON-to-CSV conversion script. It loads `response.json`, flattens nested fields with pandas, and writes `users.csv`. The PDF is not referenced by the script, so its role in the workflow is unclear and it is omitted. The graph reflects only the behavior shown in the excerpt.

Main entry points: [`json_to_csv.py`](https://github.com/sovan65/automation-assignments/blob/main/json_to_csv.py) (JSON to CSV), [`response.json`](https://github.com/sovan65/automation-assignments/blob/main/response.json) (JSON input), [`users.csv`](https://github.com/sovan65/automation-assignments/blob/main/users.csv) (CSV output)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_converter["JSON to CSV<br/>[json_to_csv.py]"]
node_input["JSON input<br/>[response.json]"]
node_output["CSV output<br/>[users.csv]"]

node_converter -->|"reads"| node_input
node_converter -->|"writes"| node_output

click node_converter "https://github.com/sovan65/automation-assignments/blob/main/json_to_csv.py"
click node_input "https://github.com/sovan65/automation-assignments/blob/main/response.json"
click node_output "https://github.com/sovan65/automation-assignments/blob/main/users.csv"

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_converter,node_input,node_output toneTeal
```

## Components

### Other components

- [JSON to CSV](https://github.com/sovan65/automation-assignments/blob/main/json_to_csv.py): `json_to_csv.py`
- [JSON input](https://github.com/sovan65/automation-assignments/blob/main/response.json): `response.json`
- [CSV output](https://github.com/sovan65/automation-assignments/blob/main/users.csv): `users.csv`

## Connections

- JSON to CSV → JSON input: reads (evidence: `json_to_csv.py`)
- JSON to CSV → CSV output: writes (evidence: `json_to_csv.py`)
