Skip to content

Doarakko/kaggle-kernel-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kaggle Kernel Notification

Deploy

Notify new posted kernel to Slack or LINE using Kaggle API and Heroku.

Please be careful about this issue.

Requirements

  • Kaggle API
  • Heroku
  • Credit card
    • It does not take money, to sign up and deploy heroku
  • Slack or LINE

Usage

1. Press button(Deploy to Heroku) and enter environment variables

You need to enter your credit card information to use Heroku Scheduler.
Standard plan is free, so please don't worry.

Do not enter more than one in COMPETITION_NAME.
If you participate in some competitions, please deploy for the number of competitions.

2. Set task on Heroku

Set FREQUENCY with Daily.

# assume to run once a day
pre_date = now - datetime.timedelta(days=1)

if last_run_date >= pre_date:

If you get at short intervals, the results will overlap.
In that case, please fork and correct the program.

Sample

  • Slack

  • LINE

Contribution

Welcome issue and pull request.

For example, add other notification destination(Discord, Chatwork, etc).

License

MIT

Author

Doarakko

About

Notify new kaggle kernels to Slack or LINE without coding

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published