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.2.tar.gz (15.5 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.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiocloudweather-2024.12.2.tar.gz
  • Upload date:
  • Size: 15.5 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.2.tar.gz
Algorithm Hash digest
SHA256 346f5152f7551ea83d58e911c524edf3a4f16d184ca400ae36bc6575a206e4a7
MD5 db6fc92a4eabcf4d9ad337960f0b5219
BLAKE2b-256 13e56025f2dca416dd55efd3becc73ab3c8d6cd57f276a81246e9a4b7d99d1ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocloudweather-2024.12.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aiocloudweather-2024.12.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44a92d1291cbb13628cb2fc002a53bd6b5d9f5cf05dbd56f5e689b11d905dfe5
MD5 5d1e5bcd799d76b7d50f755a1f241f8b
BLAKE2b-256 2ef723c7d6e7dff763659bf8f515a5902bdb099751156bd6300290d821144d1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiocloudweather-2024.12.2-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