Skip to main content

This package gets the latest earthquake in Indonesia from the official government agency

Project description

live_indonesia_earthquake

This package gets the latest earthquake in Indonesia from the official government agency

How does it work?

This package scrapes live Indonesian earthquake data from Indonesian Agency for Meteorological, Climatological and Geophysics (BMKG). It uses BeautifulSoup4 and Requests packages to produce outputs in the form of JSON. The generated outputs is readily available for web or mobile applications.

How to use it?

To install the package, copy the pip installation of the latest version and paste it on your terminal. After installing, import the package using "import live_Indonesia_earthquake". Here is the code that you need:


import live_Indonesia_earthquake
if __name__ == '__main__':
    print('Live Earthquake Detection App')
    result = live_Indonesia_earthquake.data_extraction()
    live_Indonesia_earthquake.show_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

lshakeidn-0.2.2.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lshakeidn-0.2.2-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file lshakeidn-0.2.2.tar.gz.

File metadata

  • Download URL: lshakeidn-0.2.2.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for lshakeidn-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ce4f77eea499eec65997ca5fdbc7caa2d81632b58652a83d773c1c1414d21cb3
MD5 9b94a78d5603592574d7871f569e170d
BLAKE2b-256 a296550aace2caac754b5e7d371822ea5471b78d51a3a9c75c7b41fe7aceab38

See more details on using hashes here.

File details

Details for the file lshakeidn-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: lshakeidn-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for lshakeidn-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8c4da2d8ffae4ac3085199c27effab57c70de3e8a975e96e136555b2553d569c
MD5 ce0fae5b59a9104748650eda7343f70e
BLAKE2b-256 9a6f00cf5abdf92ec8db695691b6b5b1976fefb3f01b7bf83724e7c457aacedc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page