Skip to main content

A package for checking earthquake information in Taiwan.

Project description

Earthquake checker

一個讓你可以用 Command line 快速確認剛剛有沒有地震的工具

近期因為地震太多,工作的時候總是有同事問剛剛是不是有地震。在這個時候可以輕鬆的用 Command line 去確認有沒有地震,不用打開網頁視窗,是一個雞肋的小工具。這個工具能幫你查詢中央氣象署的資料,並將處理後的資料輸出在 terminal 上面,免取上網查詢的動作

Get started

earthquake-check requires Python 3.6+ along with the requests and pydantic.

  1. 安裝套件

    pip install earthquake-check
    
  2. 檢視最近 1 小時內是否有地震

    equake check
    

    image

    預設是檢查一小時內,可以使用 --hour=${希望的小時}

  3. 顯示近期地震的資訊

    equake show
    

    image 預設是五筆,可以使用 --hour=${希望的小時}

結語

總之這就是一個雞肋的小套件,大家可以載來玩玩看。阿如果中央氣象署的資料改了,可能也不會繼續維護。 image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

earthquake-check-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file earthquake-check-0.1.0.tar.gz.

File metadata

  • Download URL: earthquake-check-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for earthquake-check-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fa1be27d34d031d6cfc45ecce3bd0f9de3cd1c02074ad4d2ba3ea24c6221499
MD5 0e50e57eafc6e8630d1e5453d438e4e1
BLAKE2b-256 501ac169b2d79ca9f791c0bf003bea9e3521f536bcdd15aabcf2ff460c4d0286

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page