This package provides a simple way to retrieve latest earthquake data in Indonesia from the official website of the Indonesian Meteorology, Climatology, and Geophysics Agency (BMKG)
Project description
BMKG Quake Package
This package provides a simple way to retrieve real-time earthquake data in Indonesia from the official website of the Indonesian Meteorology, Climatology, and Geophysics Agency (BMKG). It utilizes web scraping techniques using the beautifulsoup4
and requests
packages to fetch earthquake data from the BMKG website. The retrieved data is then returned as a Python dictionary or JSON format, which can be used in web or mobile applications.
Key Features
- Real-time Data Retrieval: Fetches the latest earthquake data from the BMKG website in real-time.
- Simple Web Scraping: Utilizes
beautifulsoup4
andrequests
packages for efficient web scraping of earthquake data. - Data Format: Returns earthquake data as a Python dictionary or JSON for easy integration into applications.
- Wide Python Version Support: Compatible with Python 3.6 or later.
Installation
Install the package using pip:
pip install bmkgquake
Usage
import bmkgquake
result = bmkgquake.extract_data()
bmkgquake.display_data(result)
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
Built Distribution
Hashes for bmkgquake-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 529e2ecdf4deecaf1e023044d04970a73a8684d575ad50429cca9b861d7e358b |
|
MD5 | bd673a558de0f7fc8a53e0a05018b745 |
|
BLAKE2b-256 | 7584d253b210909205ae94ebecdf7554aea9a487a7f990f073ead76e00745b45 |