Skip to main content

A simple package to scrape and parse the latest earthquake data from BMKG.

Project description

🌍 Quakindo: Latest Earthquake Update

Quakindo (Quake-Indonesia) is a concise, open-source Python library designed to fetch and process the latest earthquake data in Indonesia. This package sources its data directly from BMKG (Badan Meteorologi, Klimatologi, dan Geofisika), making it a valuable tool for geophysical monitoring projects, early warning applications, or data integration.

✨ Features

The library provides crucial details in a clean, structured Python dictionary format:

  • Direct Data Extraction: Fetches the very latest earthquake update directly from the official BMKG website.
  • 📚 Structured Data Output: Returns earthquake data ready for integration into databases, APIs, or dashboard displays.
  • 🎯 Comprehensive Details: Includes:
    • Date and Time (WIB)
    • Magnitude
    • Depth
    • Coordinates (Parsed into clean numerical Latitude/Longitude values)
    • Epicenter Location
    • Felt Intensity (MMI Scale)

🛠️ Installation

You can install quakindo directly using pip:

pip install quakindo

💻 Quick Usage

Here is a simple example demonstrating how to use the quakindo package in your Python code:

from quakindo import fetch_earthquake_data, display_data

# 1. Fetch the latest data
equake_data = fetch_earthquake_data()

# 2. Display the data
if equake_data:
    print("--- QUAKINDO EARTHQUAKE REPORT ---")
    display_data(equake_data)
else:
    print("Failed to retrieve earthquake data.")

📝 Example Output

(Note: Coordinates will be parsed into negative values for LS/BB and positive for LU/BT.)

Latest Earthquake Update (BMKG)
Date: 03 Nov 2025
Time: 12:45:00 WIB
Magnitude: 4,8
Depth: 15 Km
Coordinates: LS=-1.57, BT=127.87
Epicenter: 122 km TimurLaut TERNATE-MALUT

📄 License

This project is licensed under the GNU General Public License v3 (GPLv3). See the LICENSE file in the root directory for full details.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

quakindo-0.1.tar.gz (41.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quakindo-0.1-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file quakindo-0.1.tar.gz.

File metadata

  • Download URL: quakindo-0.1.tar.gz
  • Upload date:
  • Size: 41.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for quakindo-0.1.tar.gz
Algorithm Hash digest
SHA256 93cc8860ee1d1c80febf203d008a6ad28b9853661f06e60953dbe03dae10fc48
MD5 a066d16443b1621028238b7281dd632c
BLAKE2b-256 cf61db07a3a2fd77350f84ccf056857dc01bf68aaf634b96be75d2b0683cf4c0

See more details on using hashes here.

File details

Details for the file quakindo-0.1-py3-none-any.whl.

File metadata

  • Download URL: quakindo-0.1-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for quakindo-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ef3cd65d400145e8391cd0d3b0a317bdcc34e2daf581e5d5df3ce5e4900c4c4
MD5 600302a8349012af07ff3029183b8465
BLAKE2b-256 030dd99f217bea733f89700f7e0b8e2e1cc92083d67dcbdbf2e43394ed09d578

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