A professional automation toolkit built for the CodeAlpha internship. This project provides multiple automation scripts to handle repetitive real-life tasks like file organization, data extraction, and web scraping.
- File Organizer: Automatically scans a directory and moves image files (
.jpg,.jpeg,.png) into an organized "Organized_Images" folder usingosandshutil. - Email Extractor: Scans any
.txtfile for email addresses using regular expressions (re) and saves the results to a structured output file. - Web Title Scraper: Fetches the HTML content of a fixed webpage using
requestsand extracts the page title. - Unified Interface: An easy-to-use CLI to choose which automation task to run.
os&shutil: For directory scanning and file movement.re(Regular Expressions): For pattern matching and data extraction.requests: For network requests and web scraping.- File Handling: For reading source data and writing logs/reports.
- Install dependencies:
pip install requests
- Navigate to the project directory:
cd CodeAlpha_Task_Automation - Run the automation suite:
python main.py
main.py: Interactive CLI entry point.automation_tasks.py: Module containing the logic for each specific task.sample_data/: A folder containing dummy files for testing the automation.
Created as part of the CodeAlpha Internship Program.