Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Built a 30-Line Earthquake Monitor in Python — Here's How

Описание и применение

Короткий скрипт на Python выводит в терминал последние значительные землетрясения, заменяя задержку в Twitter.

Задача

I wanted real‑time alerts for significant earthquakes but only received them via Twitter, which was delayed.

Результат

The script provides a quick, terminal‑based view of recent significant earthquakes, improving situational awareness compared to delayed social‑media alerts.

Рабочий процесс

  • Install the Rich library with pip install rich
  • Create quake_check.py with functions to fetch and display data from the USGS feed
  • Run the script with python3 quake_check.py to see a table of recent significant earthquakes

Доказательства

I found out about it 40 minutes later scrolling through Twitter. Forty minutes.

Источник

Run it: python3 quake_check.py

Источник

  • Дата записи: 2026-09-11T04:16:00.680Z