Metadata-Version: 2.4
Name: iotml
Version: 0.2.0
Summary: IoT & Data Analytics Lab toolkit for live API fetching, visualization, and ML models
Author: Meena
License-Expression: MIT
Keywords: iot,machine-learning,analytics,iss,earthquake,weather,air-quality,coap,streamlit
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: pandas
Requires-Dist: matplotlib
Requires-Dist: scikit-learn
Requires-Dist: urllib3
Dynamic: license-file

# iotml

**IoT & Data Analytics Lab Toolkit** — Live API sensor data analysis, time-series visualizations, and machine learning models in one simple command.

---

## ⚡ Super Short Commands

### 1. Install
```bash
pip install iotml
```

### 2. Run
```bash
iotml
```
*(Or run with `python -m iotml`)*

---

## 📦 Features & Menu Options

1. **ISS Location Tracker**: Live stream of ISS coordinates & trajectory plots.
2. **Earthquake Analysis**: Real-time seismic event analysis from USGS.
3. **Weather Analysis**: Live meteorological telemetry from Open-Meteo.
4. **Air Quality Analysis**: Real-time PM2.5, PM10, and US AQI statistics & graphs.
5. **Decision Tree**: Sensor occupancy classifier.
6. **Linear Regression**: Environmental temperature predictor.
7. **Random Forest**: Multiclass AQI category classification.

---

## 🐍 Python Import Usage

You can also import functions directly into your scripts or notebooks:

```python
from iotml import (
    analyze_data,
    time_series,
    bar_chart,
    iss_data,
    earthquake_data,
    weather_data,
    air_quality,
    decision_tree,
    linear_regression,
    random_forest
)

# Example: Run live earthquake analysis
earthquake_data()
```

---

## 📄 License
MIT License
