Skip to content

Nothing-dot-exe/Excel-CSV-Automation-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✨ Excel / CSV Automation Tool ✨

A small GUI utility to merge, clean and generate PDF reports from Excel/CSV files πŸ“ŠπŸ“„


Excel / CSV Automation Tool v1.0
🧰 Built with Python & CustomTkinter

✨ Features

  • πŸ”— Merge multiple Excel/CSV files (adds Source_File column)
  • 🧹 Clean data (trim whitespace, coerce numeric columns)
  • πŸ“‹ Remove duplicates and produce smart summaries
  • πŸ“Š Generate beautiful charts (bar charts, value distributions)
  • πŸ–¨οΈ PDF report generation with statistics and visualizations
  • πŸ–₯️ Intuitive GUI built with customtkinter
  • ⚑ Real-time progress tracking with visual feedback
  • πŸ“ Organized output in timestamped folders

πŸš€ Quick Start

πŸ“¦ Installation

  • Install dependencies:
pip install -r requirements.txt

▢️ Running the App

Option 1: Direct Python (Always Works) 🐍

python app.py

Option 2: Batch File Launcher πŸ’¨

Excel-CSV-Tool.bat

Option 3: Desktop Shortcut πŸ–±οΈ (Recommended)

  • Look for Excel-CSV-Tool.lnk on your Desktop
  • Double-click to launch instantly!

πŸ“Œ Create Desktop Shortcut (Easy Methods)

Method 1️⃣: Quick PowerShell Command (Fastest) ⚑

Copy and paste this in PowerShell:

$DesktopPath = [Environment]::GetFolderPath('Desktop')
$WshShell = New-Object -ComObject WScript.Shell
$Shortcut = $WshShell.CreateShortcut("$DesktopPath\Excel-CSV-Tool.lnk")
$Shortcut.TargetPath = "C:\Users\***\AppData\Local\Programs\Python\Python311\python.exe"
$Shortcut.Arguments = "`"c:\Users\***\OneDrive\Desktop\working projects by me\Excel csv work\app.py`""
$Shortcut.WorkingDirectory = "c:\Users\***\OneDrive\Desktop\***\Excel csv work"
$Shortcut.IconLocation = "C:\Users\***\AppData\Local\Programs\Python\Python311\python.exe,0"
$Shortcut.Save()
Write-Host "βœ… Desktop shortcut created successfully!"

Method 2️⃣: Manual Shortcut Creation (Windows GUI) πŸ–±οΈ

  1. Right-click on your Desktop β†’ New β†’ Shortcut
  2. Paste this in the location field:
    C:\Users\kadam\AppData\Local\Programs\Python\Python311\python.exe "c:\Users\kadam\OneDrive\Desktop\working projects by me\Excel csv work\app.py"
    
  3. Click Next ➑️
  4. Name it: Excel-CSV-Tool πŸ“
  5. Click Finish βœ…
  6. (Optional) Right-click shortcut β†’ Properties β†’ Advanced β†’ Check Run as administrator (if needed)

Method 3️⃣: Use Batch File πŸ”§

Already created for you: Excel-CSV-Tool.bat

  • Right-click β†’ Send to β†’ Desktop (create shortcut)
  • Or just double-click the .bat file to run immediately!

🎯 Desktop Shortcut Tips

πŸ’‘ Tip Details
Pin to Taskbar Right-click shortcut β†’ Pin to Taskbar for quick access
Change Icon Right-click β†’ Properties β†’ Change Icon (choose an icon from python.exe or custom .ico)
Run Minimized Console Right-click β†’ Properties β†’ Advanced β†’ Check "Run with reduced window"
Keyboard Shortcut Right-click β†’ Properties β†’ Shortcut tab β†’ Shortcut key (e.g., Ctrl+Alt+E)

πŸ“‚ How It Works

  1. Select Files πŸ“ β†’ Choose your Excel/CSV files
  2. Process βš™οΈ β†’ Data gets cleaned & merged
  3. Review πŸ‘€ β†’ See previews in real-time
  4. Generate Reports πŸ“Š β†’ Automatic PDF + Excel exports

The app creates an output/ folder with timestamped subfolders for each run.


πŸ”§ Troubleshooting

❌ Issue βœ… Solution
customtkinter import error Run: pip install customtkinter
Excel file won't open Install: pip install openpyxl xlrd
PDF generation fails Install: pip install fpdf2
Shortcut won't work Check Python path: python --version in PowerShell
"No readable data found" Ensure files have proper headers and data
Charts not displaying Install: pip install matplotlib pillow

πŸ“¦ Dependencies

All required packages are in requirements.txt:

pandas              # πŸ“Š Data manipulation
matplotlib          # πŸ“ˆ Chart generation
fpdf2               # πŸ–¨οΈ PDF creation
customtkinter       # πŸ–₯️ GUI framework
openpyxl            # πŸ“ Excel support
xlrd                # πŸ“„ Legacy Excel reader
Pillow              # πŸ–ΌοΈ Image handling

Install all at once:

pip install -r requirements.txt

βš–οΈ License & Redistribution

This project is licensed under Creative Commons Attribution-NonCommercial 4.0 (CC BY-NC 4.0) πŸ”

  • βœ… You can: Use, modify, and redistribute for personal/educational purposes
  • ❌ You cannot: Use for commercial purposes without permission
  • πŸ“ You must: Give appropriate credit to the original author

See embedded license in app.py for full details.


🌟 Quick Reference

Command Purpose
python app.py πŸš€ Launch the GUI
Excel-CSV-Tool.bat πŸ’¨ Quick launcher (no terminal)
Double-click Excel-CSV-Tool.lnk πŸ–±οΈ Desktop shortcut launch
pip install -r requirements.txt πŸ“¦ Install dependencies

πŸ’‘ Pro Tips

πŸ”Ή Batch Processing: Select multiple CSV/Excel files at once for faster merging
πŸ”Ή Large Files: The tool handles thousands of rows efficiently
πŸ”Ή Custom Output: All reports are saved in organized timestamped folders
πŸ”Ή Reuse Sessions: Previous runs are accessible in the output/ folder
πŸ”Ή Keyboard Shortcuts: Set one up for lightning-fast access!


πŸ‘¨β€πŸ’» Made with ❀️

Created by Amit Kadam 🎯

Enjoy automating your data workflows! πŸš€βœ¨

About

A small GUI utility to merge, clean and generate PDF reports from Excel/CSV files πŸ“ŠπŸ“„

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors