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
Release files for update-gempa-indonesia 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| update_gempa_indonesia-0.0.5.tar.gz | 15.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| update_gempa_indonesia-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.8 kB
Release files / update_gempa_indonesia-0.0.5.tar.gz
| Download URL | update_gempa_indonesia-0.0.5.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8ca85c6c6b4c3f8207fa43218d5b882d6938a1f5dcf72662843c93319919106
|
|
BLAKE2b-256 checksum How to use checksums |
71c03ac0c6ff286dd72be4d60e18ce06da1d6b2d276ea1b90e199a273f4ca1c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|
Release files / update_gempa_indonesia-0.0.5-py3-none-any.whl
| Download URL | update_gempa_indonesia-0.0.5-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee927b218dc1dd9600333892b25266bb1cc17928709f10043875c2119574594c
|
|
BLAKE2b-256 checksum How to use checksums |
e94cf6558007b094723579054d3eb336010e38c284383c2c684cee1e346fb760
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|