Technical book · Python · July 2026

The information comes to you.

Watch & Alert shows you step by step how to build your own news monitor: query RSS feeds, filter relevant reports, optionally assess them with an LLM, and receive immediate notifications on Telegram or by email – using real, tested Python code.

No more searching yourself. Define what interests you once – relevant news comes to you automatically.

What it is about

You are waiting for important news – a tender, an IPO, a product recall, or a report on your subject. With Watch & Alert, you can stop searching every day.

Monitor automatically

RSS feeds, Google News and other sources are queried regularly and robustly – with timeouts, retries and error handling.

Filter for relevance

Context-sensitive keyword filters, duplicate detection and SQLite as memory. No duplicate alerts, no noise.

Assess with an LLM

An on-device or cloud LLM can classify each report and decide whether it genuinely matches your subject.

Notify immediately

Matches arrive as formatted messages on your Telegram bot, by email or via ntfy.sh – as configured.

What the book covers

11 chapters that build logically on one another – from your first Python script to a production-ready alert system.

1 · Install and configure Python

Installation, venv, pip and your first script.

2 · Linux fundamentals & Bash

Terminal, navigation, processes, permission model, Cron and a Git excursion.

3 · Architecture and modules

The bot’s five classes, modules vs scripts, and your first RSS script.

4 · Configuration and secrets

.env, YAML, TOML – and where each one lives. No tokens in source code.

5 · Security and hygiene

HTTPS, Token rotieren, Logging ohne Geheimnisse zu leaken.

6 · The first watcher

From script to reusable module – clean, testable, maintainable.

7 · Query RSS feeds robustly

Timeouts, retries, backoff and error handling in production.

8 · Databases with SQLite

Schema, migrations, duplicate detection and a clean lifecycle.

9 · Using LLMs effectively

Classification, prompt design, cost, latency and fallbacks.

10 · Filter-Pipeline

Sources → pre-filter → LLM → delivery, cleanly orchestrated.

11 · Notification channels

Telegram bot, ntfy.sh, email. Including tests and systemd timers.

Appendix · Solutions & conclusion

Model solutions to all exercises, further reading and a glossary.

Excerpt

Three pages from the book: the complete foreword and the beginning of Kapitel 1 (Install and configure Python, inklusive WSL2 note for Windows users). This gives you a genuine feel for the tone, depth and structure before you order.

3 pages · A4 · PDF · 52 KB

  • Foreword — what the book is, who it is for and how it is structured
  • The case study behind the EngineAI IPO monitor
  • Chapter 1: Installing Python — introduction and learning objective, WSL2-Exkurs, 1.1 Warum Python, 1.2 Installation
Download excerpt as PDF

Open directly in the browser: assets/leseprobe.pdf

What you will learn

Six concrete results you will have in hand after reading.

  • Complete watch and alert system with Python, RSS and SQLite
  • LLM-assisted classification with OpenAI and Ollama
  • Notifications via Telegram, ntfy and email
  • Automation with Cron, systemd timers and anacron
  • Security: secrets, token rotation and auditing
  • Testing with pytest and a maturity model

A real reference project

Not a toy project. The book’s end-to-end example is a productive watcher that monitors an IPO, for instance, collects and filters reports, and, if desired, delivers them via Telegram alert.

  • Complete source code with modules, tests and configuration
  • Clean architecture in five clearly separated classes
  • Real test runs – including a genuine alert on a genuine Telegram bot
  • Reproducible: scripts, database and caches are documented in the book

Example output

10 articles found
 7 relevant reports sent
 0 duplicates on the second run
 1 Telegram alert delivered

Described in the book. Tested with another subject. It works.

Open Source: the complete code

All scripts, modules and configurations from the book are available publicly on GitHub. You can clone them, try them out and adapt them to your own subjects.

watch-alert-book / engineai-monitoring Python news & market monitor: RSS → LLM → Telegram. Reference project for the book „Watch & Alert“.

Clone the repository, create your own .env with your Telegram token, and get started. You will find step-by-step instructions in Chapters 3 and 6.

About the author

Stephan Paul, author of Watch & Alert

Stephan Paul is very interested in developments in the world of IT.

This book grew from the desire not to miss the IPO of a Chinese robotics company, and from the realisation that the resulting tool is useful for many other monitoring problems.

Order

Publishing summer 2026 as paperback and e-book. Add yourself to the waiting list – you will be notified as soon as order links and the ISBN are confirmed. Registration is free and non-binding.

You will receive at most one brief message when the book is published. No advertising, no tracking. Your data is used only for notification and never shared with third parties.

Contact

Do you have a question, would like to request a review copy, or give feedback? Drop me a line — I will get back to you personally.

Or directly by email: kontakt@watch-and-alert.de