this package will get the latest earthquake from BMKG -Meteorology, Climatology, and Geophysics Agency
Project description
latest-indonesia-earthquake
this package will get the latest earthquake from BMKG -Meteorology, Climatology, and Geophysics Agency
HOW IT WORKS ?
This package uses beautifllsoup4 and a request which will produce a jSON file output that is ready to be used for web or mobile applications
HOW to use?
- make file main.py
- paste this code to file main.py
import gempaterkini
from gempaterkini.gempaUPDATE.init import bencana, gempaTerkini
aplikasi gempaterkini folder utama (pembuatan secara prosedural)
if name == 'main': result = gempaterkini.exstrasi_data() gempaterkini.tampilkan_data(result)
aplikasi gempaUPDATE subfolder (pembuatan secara OOP)
if name == 'main': gempa_indonesia = gempaTerkini("https://bmkg.go.id") print(f'Aplikasi Utama menggunakan package yang memiliki deskripsi {gempa_indonesia.description}') gempa_indonesia.tampilkan_keterangan() gempa_indonesia.run()
- run program
enjoyy the programm
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 update_gempa_indonesia-0.0.5.tar.gz.
File metadata
- Download URL: update_gempa_indonesia-0.0.5.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8ca85c6c6b4c3f8207fa43218d5b882d6938a1f5dcf72662843c93319919106
|
|
| MD5 |
f12c5cf84056db5fab11693fab5fcc74
|
|
| BLAKE2b-256 |
71c03ac0c6ff286dd72be4d60e18ce06da1d6b2d276ea1b90e199a273f4ca1c5
|
File details
Details for the file update_gempa_indonesia-0.0.5-py3-none-any.whl.
File metadata
- Download URL: update_gempa_indonesia-0.0.5-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee927b218dc1dd9600333892b25266bb1cc17928709f10043875c2119574594c
|
|
| MD5 |
cf4025c110c1860fa54a5f1427aaa631
|
|
| BLAKE2b-256 |
e94cf6558007b094723579054d3eb336010e38c284383c2c684cee1e346fb760
|