Python client for the OpenEarth API
Project description
OpenEarth Python API
A Python client for the OpenEarth API that provides environmental data insights including weather, air quality, flood risk, wildfire monitoring, and more.
Features
- Weather Analysis: Rain, precipitation, and weather pattern queries
- Air Quality Monitoring: AQI, PM2.5/PM10, ozone, smoke, and haze data
- Flood Risk Assessment: Flash flooding, inundation, and standing water analysis
- Wildfire Monitoring: Fire risk, evacuation routes, and air quality impact
- Geographic Analysis: Urban, suburban, and rural area-specific insights
- Real-time Data: Live environmental data from multiple sources
Installation
pip install openearth
Quick Start
from openearth import OpenEarth
# Check API health
print(oe.health())
# Query environmental data
result = oe.query("What's the air quality in San Francisco?")
print(result)
# Close the client
oe.close()
API Usage
query(query: str)
Send a natural language query about environmental conditions.
# Air quality queries
result = oe.query("Is there smoke affecting air quality in Portland?")
# Flood risk queries
result = oe.query("Flash flooding potential in Miami?")
# Wildfire queries
result = oe.query("Evacuation routes for fire in Napa Valley?")
Requirements
- Python 3.11+
- httpx >= 0.27.0
License
Proprietary
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
openearth-0.1.1.tar.gz
(2.2 kB
view details)
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 openearth-0.1.1.tar.gz.
File metadata
- Download URL: openearth-0.1.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d816a05ebd8b63a0e1502c0629c098ff87e478e458bb3b8f81742acd8b706e85
|
|
| MD5 |
15d3b24ac91cb8a6900b8acdb46dfd86
|
|
| BLAKE2b-256 |
3ddd5680115e7f83975e75ac6d92557284033af87a87c898593a0589d4950913
|
File details
Details for the file openearth-0.1.1-py3-none-any.whl.
File metadata
- Download URL: openearth-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc09c116675aba9c189ceb9100a7efda9262b2afd24b7f9a871912f5756e0e4f
|
|
| MD5 |
1d53ecc6aa6dce86a59a0edf935a9eef
|
|
| BLAKE2b-256 |
f957be5061127e890dc03c3af3beba5cf0e16ab3742feaf7e18246659793a94e
|