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
beautifulsoup4andrequestspackages 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bmkgquake-0.1.3.tar.gz.
File metadata
- Download URL: bmkgquake-0.1.3.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41de13c3cde93d32e8ab8e2810396f9d9b083aaf93b0a52ed61ef0c9bf126d80
|
|
| MD5 |
363094eb8531c61ed4926df77adccb8c
|
|
| BLAKE2b-256 |
6c76ab58b31f52b0d4c7d00ce3db0873a79b89d9516c7919e39fee84781b72d9
|
File details
Details for the file bmkgquake-0.1.3-py3-none-any.whl.
File metadata
- Download URL: bmkgquake-0.1.3-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
529e2ecdf4deecaf1e023044d04970a73a8684d575ad50429cca9b861d7e358b
|
|
| MD5 |
bd673a558de0f7fc8a53e0a05018b745
|
|
| BLAKE2b-256 |
7584d253b210909205ae94ebecdf7554aea9a487a7f990f073ead76e00745b45
|