Welcome to Lottery-Predict, the ultimate web app that turns your lottery dreams into reality! Upload your past lottery data, and let our intelligent algorithms predict your next winning numbers with style and precision. Ready to strike it lucky? ๐
If you like this project, please consider giving it a star โญ๏ธ on GitHub. Your support motivates me to keep improving it!
Lottery-Predict is a modern web application built with Flask, designed to analyze historical lottery data from Excel files and forecast future numbers using machine learning magic. With a stunning interface, real-time analysis, and animated predictions, this tool makes lottery prediction both fun and insightful!
- ๐ Easy Excel Upload: Drag and drop your
.xlsxfile with past lottery draws. - โก Real-Time Insights: Watch the analysis unfold live with Server-Sent Events.
- ๐ฒ Animated Predictions: See your predicted numbers pop up in glowing "lucky balls".
- ๐ฅ Sample File Included: Download a sample file to get started instantly.
- ๐ฑ Responsive Design: Looks amazing on both desktop and mobile devices.
Get up and running in just a few steps!
- Python 3.8 or higher ๐
- pip (Python package manager)
-
Clone the Repo
git clone https://github.com/Ishanoshada/Lottery-Predict.git cd Lottery-Predict -
Install Dependencies
pip install -r requirements.txt
-
Set Up the Sample File
- Make sure
api/static/previous_data.xlsxis ready (download it from the app or create it manually). - Sample format:
Date | Num1 | Num2 | Num3 | Num4 | Num5 | Num6 | Bonus 2025-May-30| 37 | 51 | 79 | | | | E 2025-May-09| 25 | 72 | 77 | | | | Q 2025-May-22| 42 | 71 | 73 | | | | Q ...
- Make sure
-
Launch the App
python api/app.py
- Open
http://localhost:5000in your browser and start predicting! ๐ฏ
- Open
-
Upload Your Data
- Drag and drop your
.xlsxfile into the upload area or click to browse. - Need a template? Click "Sample File Download" to grab a ready-made file.
- Drag and drop your
-
Analyze & Predict
- Hit the "Analyze & Predict" button to kick off the magic.
- Watch the live updates and see your predicted numbers appear in glowing balls!
-
Check the Sample Data
- Click "Show Sample Data" to see the expected Excel format and get inspired.
Your Excel file should follow this structure:
- Date:
YYYY-MMM-DD(e.g.,2025-May-30) - Num1 to Num6: Lottery numbers (up to 6 columns; empty cells are fine)
- Bonus: Single letter (optional, e.g.,
E,Q) - File type:
.xlsx
Weโd love your help to make Lottery-Predict even better! Hereโs how to contribute:
- Fork the repository.
- Create a feature branch (
git checkout -b feature-amazing-idea). - Commit your changes (
git commit -m "Add a cool feature"). - Push to the branch (
git push origin feature-amazing-idea). - Open a Pull Request with a clear description of your changes.
Please follow the existing code style and add tests where possible.
This project is licensed under the MIT License. See the LICENSE file for details.
- A big shoutout to Ishanoshada for crafting this awesome project! ๐
- Powered by Flask, pandas, and scikit-learn.
- Thanks to Font Awesome for the cool icons and the open-source community for endless inspiration.
Got questions or ideas? Open an issue on GitHub or reach out to the maintainer at [email protected].
Letโs predict those winning numbers together! ๐ฐ
