Skip to content

Hackerd-byte/Python_internship_task3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Python_internship_task3

πŸ“Š PDF Report Generator - Internship Task 3

This project generates an automated PDF report from a CSV dataset using Python. It includes summary statistics, data visualizations (bar charts), and tabular insights, suitable for real-world reporting needs.

πŸ”§ Features

  • βœ… Reads data from electronics.csv
  • πŸ“ˆ Generates bar charts using matplotlib
    • Brands vs Sales
    • Category vs Sales
  • πŸ“‹ Calculates summary statistics:
    • Mean, Median, Min, Max, Standard Deviation
  • 🧾 Compiles everything into a professional Report.pdf
  • 🐍 Virtual environment included (env/)

πŸ“ Project Structure

pdfreportgenerator/
β”‚
β”œβ”€β”€ env/ # Python virtual environment
β”œβ”€β”€ images/ # Auto-generated charts saved here
β”œβ”€β”€ electronics.csv # Input dataset (electronics sales)
β”œβ”€β”€ report_generator.py # Main script to generate PDF
β”œβ”€β”€ Report.pdf # Final generated report
└── README.md # This file

πŸ“¦ Requirements

  • Python 3.x
  • matplotlib
  • pandas
  • fpdf

Install all dependencies using:

pip install -r requirements.txt

πŸš€ How to Run

Activate virtual environment:

.\env\Scripts\activate  # Windows

Run the script:

python report_generator.py

Your Report.pdf will be generated with visualizations and stats.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages