Skip to main content

Python wrapper for Cloud Weather protocols

Project description

aiocloudweather

PyPI Release GitHub Activity Project Maintenance Mastodon

A simple Python library for parsing Wunderground and Weathercloud update requests, based on aioecowitt for Ecowitt weather stations.

Installation

You can install aiocloudweather from PyPI using pip:

pip install aiocloudweather

Usage

import asyncio
import aiocloudweather

async def dataset_handler(station: WeatherStation):
    # Your code here


app = CloudWeatherListener()
app.new_dataset_cb.append(dataset_handler)

await app.start()
while True:
    await asyncio.sleep(100000)

Contributing

Contributions are welcome! Please also check the Cloud Weather Proxy project which uses this library to enable the weather stations in HomeAssistant.

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

aiocloudweather-2024.7.1.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

aiocloudweather-2024.7.1-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

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