Skip to main content

Python library that provides real-time and forecast weather for southtyrol using the Open Data Hub API

Project description

python-southtyrol-weather

Python library that provides real-time and forecast weather for southtyrol using the Open Data Hub API.

Features

  • Get metadata for all available stations

  • Find nearby stations

  • Fetch latest measurement for each station

Installation

Install via pip:

pip install python-southtyrol-weather

Requires Python 3.10 or higher

Dependencies

  • aiohttp 3.11 or higher

Usage Example

async def main():   
    async with ClientSession() as session:
        stations = await fetchStations(session)
        print(stations)
        measurement = await fetchMeasurement(session, stations[0].id)
        print(measurement)

License

MIT License

Contributing

Contributions are welcome!
Feel free to open issues, submit pull requests, or suggest features.

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

python_southtyrol_weather-0.0.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

python_southtyrol_weather-0.0.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file python_southtyrol_weather-0.0.1.tar.gz.

File metadata

File hashes

Hashes for python_southtyrol_weather-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e8ac809125b9d97052b99cd360d1674118942e3c14fe630b79ec21d81639d3f5
MD5 039413616d9dca94ebe05353daf30451
BLAKE2b-256 b579b81d7eac686b9b92ced5634594371d3cc7e291a5bc016d1efa8835042c10

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_southtyrol_weather-0.0.1.tar.gz:

Publisher: python-publish.yml on probert94/python-southtyrol-weather

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

File details

Details for the file python_southtyrol_weather-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_southtyrol_weather-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4fdf2de0308082aa569d63bbb57f7c91223ab576f1245b8c357a47300e7e090
MD5 0f69bbf011de819ff6960393403428c6
BLAKE2b-256 b52363be0e7d2662325601284657c4ae124bac7fe1d65cccc2813e5d26442e63

See more details on using hashes here.

Provenance

The following attestation bundles were made for python_southtyrol_weather-0.0.1-py3-none-any.whl:

Publisher: python-publish.yml on probert94/python-southtyrol-weather

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