Skip to main content

Fetch and handle volcanic activity alerts from JMA

Project description

Volcanic Checker

Volcanic Checker is a Python library to fetch and handle volcanic activity alerts from the Japan Meteorological Agency (JMA).

Installation

You can install the library via pip:

pip install volcanic-checker

Usage

import volcanic_checker as checker

alert = checker.get_alert_level_by_name("富士山")

print(f"Volcano: {alert.name}")
print(f"Alert level: {alert.level}")
print(f"Info URL: {alert.url or 'None'}")
print(f"Retrieved at: {alert.retrieved_at}")

CLI

The library also provides a command-line interface. After installation, you can run:

python -m volcanic_checker.main

It will prompt you for a volcano name and display its alert level.

License

MIT License

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

volcanic_checker-0.1.2.tar.gz (159.8 kB view details)

Uploaded Source

Built Distribution

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

volcanic_checker-0.1.2-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file volcanic_checker-0.1.2.tar.gz.

File metadata

  • Download URL: volcanic_checker-0.1.2.tar.gz
  • Upload date:
  • Size: 159.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for volcanic_checker-0.1.2.tar.gz
Algorithm Hash digest
SHA256 55a96f4cffcbe16f3124df52756125a1ca2dd9dcabed6fff6d69f4105247ed1a
MD5 ddf93ae8464913d59e21da685c524c60
BLAKE2b-256 1137d4d10b766cd51f4f6ad28ada85736ad19ec303b0deaf693e62c1fddcd315

See more details on using hashes here.

File details

Details for the file volcanic_checker-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for volcanic_checker-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dae47d57a077d0f29bad759d59e573f79494af229a75fbf98380a627c733e6e1
MD5 02c8b43258170b6008cfe99dbaaa93b8
BLAKE2b-256 b4c1614f3932661ccd64a159796962ed3b57412fd4bc318057cbb6e437fdad1a

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