amazing-python-scripts
repository·main·Indexed 25 days ago
https://github.com/avinashkranjan/amazing-python-scriptsA curated collection of Python scripts for automation and utilities. The repository includes a variety of projects such as a 2048 game implementation, a Tkinter and SQLite Address-Book, an AI-based Music Composer using magenta, an Agriculture Optimization ML Model using KMeans and Logistic Regression, an AI Calculator with chatterbot, an AI Code Reviewer using pycodestyle, and an AI Driven Storytelling Game.
What's inside amazing-python-scripts
- The File Sorter GUI is a Python-based tool that allows users to select a directory and automatically organize its contents. It sorts files into separate subdirectories based on their file extensions.
Overview of Outdoor-fire Smoke Detection script
mainThis script is designed for outdoor-fire smoke detection using computer vision.
Requirements & Environment:
- Language: Python 2.7
- Library: OpenCV 3.1
- Operating System: Ubuntu 14.04LTS
Overview of Movie Recommendation Based on Your Emotions
mainThis project provides movie recommendations based on eight pre-defined emotion classes. It uses theBeautifulSoupPython library to scrape movie titles directly from IMDb lists to ensure the recommendations are current.Overview of the Q-Learning implementation logic
mainThe
q_learning_taxi.pyscript implements the Q-Learning algorithm for the OpenAI GymTaxi-v3environment using these core steps:- Environment Initialization: Initializes the
Taxi-v3environment. - Training Loop: Runs a specified number of episodes.
- Action Selection: Uses an epsilon-greedy strategy, selecting actions randomly for exploration or based on learned Q-values for exploitation.
- Q-Table Updates: Updates the Q-table using the Q-Learning algorithm and adjusts the exploration rate over time.
- Performance Tracking: Stores rewards per episode and calculates the average reward per thousand episodes.
- Visualization: Renders the environment during play and visualizes performance in test episodes.
- Output: Prints the final Q-table and performance metrics after training.
- Environment Initialization: Initializes the
Overview of Living Cost EDA project
mainThe Living Cost EDA (Exploratory Data Analysis) project is designed to analyze and visualize the relationships and distributions of various expense parameters. It focuses on exploring data related to:
- Country
- Food
- Travel
- Living
- Lifestyle
- Education
- Income
The project uses data visualizations to uncover how these different factors impact overall expenses and distributions across different regions.
Overview of Document Word Detection
mainDocument Word Detection is a tool that uses OpenCV to detect specific words present within document pages using image processing techniques.Overview of Gunship13k Gameplay
mainGunship13k is a scoring-based shooter where players shoot enemies to accumulate points.
Key Mechanics:
- Multipliers: Chain kills to increase your multiplier and power up your cannon.
- Risk/Reward: If an enemy passes you, your score multiplier resets.
- Collision: Hitting an enemy with your ship triggers an explosion that kills everything.
- Health: You have three lives; getting hit three times results in a 'Game Over'.
Overview of YouTube Video Downloader functionality
mainThe YouTube Video Downloader allows users to download individual YouTube videos or entire playlists by pasting the URL into a GUI application. Once the download is complete, a 'DOWNLOADED!' popup message is displayed.Overview of tambola_game
mainThetambola_gameproject is a virtual implementation of the Tambola game (also known as Bingo). It is designed to simulate the game environment digitally.Overview of Times of India Scrapper
mainThe Times of India Scrapper is a Python-based tool designed to scrape news headlines and their corresponding links from the Times of India website. The scraped data is structured and outputted as a pandas DataFrame, making it easy to manipulate or export for further analysis.Overview of My Portfolio
mainThis project is a personal portfolio showcasing various work, projects, and technical skills. It serves as a central hub to explore project descriptions, professional experience, and technical expertise.Overview of Heart Rate Detection
mainThis project implements heart rate detection by analyzing eye movement using OpenCV and various algorithms.