An open API service indexing awesome lists of open source software.

https://github.com/ishanoshada/lottery-predict

Predict lottery numbers with this Flask-powered web app! Upload Excel data, get real-time analysis, and see animated predictions. Try it now! ๐ŸŽฐ
https://github.com/ishanoshada/lottery-predict

data-analysis flask lottery lottery-prediction machine-learning prediction prediction-model predictor python

Last synced: 5 months ago
JSON representation

Predict lottery numbers with this Flask-powered web app! Upload Excel data, get real-time analysis, and see animated predictions. Try it now! ๐ŸŽฐ

Awesome Lists containing this project

README

          

# ๐ŸŽฐ Lottery-Predict: Your Ticket to Winning Big! ๐ŸŽ‰

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? ๐Ÿ€

![bnr](https://github.com/user-attachments/assets/514e462d-d465-4d4d-823f-18b92ff11dcb)

## ๐ŸŒŸ What is Lottery-Predict?

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!

---

## ๐Ÿš€ Features That Shine

- **๐Ÿ“Š Easy Excel Upload**: Drag and drop your `.xlsx` file 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.

---

## ๐Ÿ› ๏ธ Installation Guide

Get up and running in just a few steps!

### Prerequisites
- Python 3.8 or higher ๐Ÿ
- pip (Python package manager)

### Steps to Success
1. **Clone the Repo**
```bash
git clone https://github.com/Ishanoshada/Lottery-Predict.git
cd Lottery-Predict
```

2. **Install Dependencies**
```bash
pip install -r requirements.txt
```

3. **Set Up the Sample File**
- Make sure `api/static/previous_data.xlsx` is 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
...
```

4. **Launch the App**
```bash
python api/app.py
```
- Open `http://localhost:5000` in your browser and start predicting! ๐ŸŽฏ

---

## ๐ŸŽฎ How to Use Lottery-Predict

1. **Upload Your Data**
- Drag and drop your `.xlsx` file into the upload area or click to browse.
- Need a template? Click "Sample File Download" to grab a ready-made file.

2. **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!

3. **Check the Sample Data**
- Click "Show Sample Data" to see the expected Excel format and get inspired.

---

## ๐Ÿ“‹ File Format Requirements

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`

---

## ๐Ÿค Contribute to the Magic

Weโ€™d love your help to make Lottery-Predict even better! Hereโ€™s how to contribute:

1. Fork the repository.
2. Create a feature branch (`git checkout -b feature-amazing-idea`).
3. Commit your changes (`git commit -m "Add a cool feature"`).
4. Push to the branch (`git push origin feature-amazing-idea`).
5. Open a Pull Request with a clear description of your changes.

Please follow the existing code style and add tests where possible.

---

## ๐Ÿ“œ License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

---

## ๐Ÿ™Œ Acknowledgments

- A big shoutout to [Ishanoshada](https://github.com/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.

---

## ๐Ÿ“ฌ Get in Touch

Got questions or ideas? Open an issue on GitHub or reach out to the maintainer at [ic31908@gmail.com](mailto:ic31908@gmail.com).

Letโ€™s predict those winning numbers together! ๐Ÿ’ฐ

![Views](https://dynamic-repo-badges.vercel.app/svg/count/6/Repository%20Views/lottery-predict)