Giter Club home page Giter Club logo

reduce-kaggle-frustation's Introduction

Final Kaggle LB notification script

A python script to notify us via email and system notification about the finalization of Kaggle Leaderboard of Lyft 3D object detection competition. With little modifications the script can be used for any other competition.

How it works:

I figured out the API which kaggle was using for checking the final status of the Leaderboard. This script uses python's requests module to create a session on Kaggle, and uses the cookies for that session to get response from that API (get_leaderboard_status function). Once the script detects that the Leaderboard has been finalized it uses Python's inbuild stmplib module to send an email notification to any specified email id using a Gmail account (send_email function), it also sends a system wide notification. The script is well commented, open up an issue if you face any problem.

NOTE: Tested on Linux. Email sending functionality tested with Gmail only.

For email notifications, please fill your email login credentials in the main function. Activate Gmail's SMTP functionality by enabling 'Less secure apps' within GMAIL, following instructions from here

After enabling gmail SMTP functionality, install requests with pip install requests and then simply run python kaggle-LB.py.

How to get it running on Android:

  • Install Termux and Termux:API apps from play store.
  • Install python and termux-api with pkg install python and pkg install termux-api.
  • Install requests with pip install requests.
  • Get termux-version.py on your phone, open it with Termux, you'll find the file available in termux terminal's download directory. Make sure you've added your email credentials in the script and activated Gmail SMTP functionality as mentioned above.
  • Run the script with python termux-version.py.

Screenshots

termux ---- termux ---- email

reduce-kaggle-frustation's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.