This repository is a collection of different Python automation projects. Each project is designed to automate specific tasks using Python scripts and utilities.
This project serves as a template for automating tasks using Python. It includes example scripts and utility functions that can be customized for various automation tasks.
This project automates the process of copying files from a source directory to a destination directory as defined in directories.txt
.
This project schedules the generation of logs every minute and rotates logs every five minutes. The generated logs are stored in the system's temporary directory, and the rotated logs are compressed and archived within the project's directory to release disk space. The script uses multithreading to concurrently schedule the generation and rotation of logs at different intervals.
This project implements a simple chatbot using Python. The chatbot can respond to predefined questions and can be extended with more functionalities. It utilizes the google-generativeai
SDK and the Gemini
model for generating responses.
This project automates the process of gathering Instagram analytics of a specified user using instabot
. The analytics include the top posts and the average sentiments of their comments.
This project showcases the automation of Python unit testing using the unittest
framework, Flask routes with basic authentication, and SQLite database integration.
This project demonstrates mouse tracking and interaction replication across two windows using a client-server setup. It beautifully interweaves tkinter
, sockets
, threading
, and pyautoit
to achieve these functionalities.
For each project, follow these steps to set up and run the automation scripts:
-
Clone the repository:
git clone https://github.com/streakcraze/python-automation.git cd <project-directory>
-
Create and activate a virtual environment:
python -m venv venv # On Windows venv\Scripts\activate # On macOS/Linux source venv/bin/activate
-
Install the required packages:
pip install -r requirements.txt
For more specific usage of individual scripts, refer to their respective documentation within the script files.