Metadata-Version: 2.4
Name: volcanic_checker
Version: 0.1.1
Summary: Fetch and handle volcanic activity alerts from JMA
Home-page: https://github.com/mellllonsoda/volcanic_checker
Author: mellllonsoda
Author-email: ymellllonsoda0419@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.0
Requires-Dist: beautifulsoup4>=4.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 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:

```bash
pip install volcanic-checker
```

## Usage

```python
import volcanic-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:

```bash
python -m volcanic_checker.main
```

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

## License

MIT License
