Knock Knock is a lightweight Python utility created by the Hugging Face team that allows developers to receive notifications when long-running machine learning tasks finish or fail. Training deep learning models often takes hours or even days, making it inconvenient for engineers to constantly monitor progress manually. The library solves this problem by adding simple decorators or command-line commands that automatically send notifications when a process completes or crashes. These alerts can be delivered through several communication platforms such as email, Slack, Telegram, or other messaging services. The goal of the project is to allow developers to monitor experiments remotely without needing to stay connected to the training environment. By adding only a few lines of code, the library can wrap around a training function and report execution status.

Features

  • Automatic notifications when machine learning training completes or crashes
  • Simple decorator-based integration with Python scripts
  • Support for notification services such as email, Slack, and Telegram
  • Command-line interface for wrapping arbitrary scripts
  • Designed for monitoring long-running ML experiments
  • Minimal setup requiring only a few lines of code

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

MIT License

Follow Knock Knock

Knock Knock Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Knock Knock!

Additional Project Details

Programming Language

Python

Related Categories

Python Machine Learning Software

Registered

2026-03-11