Python package to retrieve the most recent earthquake information in Indonesia
Project description
eqid
Python package to retrieve the most recent earthquake information in Indonesia.
How does it work?
This package collect data from BMKG, the official government-run agency for meteorology, climatology, and geophysics.
How to use
Call the function
import eqid
result = eqid.get_data()
The variable result will contain a dictionary with the detail of the latest earthquake.
{'date': '15 September 2021',
'time': '07:49:47 WIB',
'magnitude': 5.4,
'depth': 20,
'location': {'lat': 1.28, 'long': 122.16},
'center_description': 'Pusat gempa berada di laut 85 km BaratLaut Boalemo',
'affected_description': 'Dirasakan (Skala MMI): III Boalemo, II - III Buol,
II Manado, II Bone Bolango, II Gorontalo, II Toli-toli'}
Project details
Release history Release notifications | RSS feed
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 eqid-0.0.1.tar.gz.
File metadata
- Download URL: eqid-0.0.1.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e8e8ec1600b4a1b77f7dde884f6507cf916175616c5402d22035c45fd26598b
|
|
| MD5 |
45fc6426c60680e9c22be65e32abd945
|
|
| BLAKE2b-256 |
42ed16f961a8d1c96cbe1c407e7267c9a26aed0671630f81deee7a226ebdea30
|
File details
Details for the file eqid-0.0.1-py3-none-any.whl.
File metadata
- Download URL: eqid-0.0.1-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f856fb4fd71216e837809df4b83a1daad9beebc2fd547a408e256730160c9b9
|
|
| MD5 |
1b38117f5fa9bf5be7732c1b91317a47
|
|
| BLAKE2b-256 |
527cb6d79cf9ef7653bd1560a76f4713c446c0c9bc5333e04674f72fec0e456c
|