Skip to content

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

License

Notifications You must be signed in to change notification settings

Ishanoshada/Lottery-Predict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฐ 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

Give us a โญ๏ธ if you find this project helpful!

If you like this project, please consider giving it a star โญ๏ธ on GitHub. Your support motivates me to keep improving it!

Buy Me a Coffee

๐ŸŒŸ 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

    git clone https://github.com/Ishanoshada/Lottery-Predict.git
    cd Lottery-Predict
  2. Install Dependencies

    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

    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 file for details.


๐Ÿ™Œ Acknowledgments

  • 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.

๐Ÿ“ฌ Get in Touch

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! ๐Ÿ’ฐ

Views

About

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

Topics

Resources

License

Stars

Watchers

Forks