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.12.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

aiocloudweather-2024.12.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file aiocloudweather-2024.12.0.tar.gz.

File metadata

  • Download URL: aiocloudweather-2024.12.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for aiocloudweather-2024.12.0.tar.gz
Algorithm Hash digest
SHA256 3fa059d1039f578a35ef092b01c6dd66e2b6d9ad08bab2aa05ed75240a59521e
MD5 72dc398364299699f82b5effac7b60e9
BLAKE2b-256 a9dcc4dcc12a2d45d123afffc7c53adc4c7eab0f9e6a1e9673a1a8fb04bc4afa

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocloudweather-2024.12.0.tar.gz:

Publisher: pythonpublish.yml on lhw/aiocloudweather

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file aiocloudweather-2024.12.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aiocloudweather-2024.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0279b42c2b29db7246904897f3975ef11819f380aaceda9c657b0bd9f9484077
MD5 f0b37132bc1dbb52efa876929feefe72
BLAKE2b-256 e2f1b1d69d76cd9cad91b9ab3cba7cc75ea8e2aafe419ba5b53d33aa73cd549f

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocloudweather-2024.12.0-py3-none-any.whl:

Publisher: pythonpublish.yml on lhw/aiocloudweather

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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