Skip to main content

Asynchronous Python client for the Weerlive API

Project description

Python Weerlive

PyPI version License Codecov Sonar quality gate GitHub repo stars Buy me a coffee

Asynchronous Python client for the Weerlive API.

Easily integrate Weerlive's services into your Python application using this client, and enjoy enhanced type safety and autocomplete support.

For more details about the APIs, visit the Weerlive API page, where you can sign up and get your API key.

Installation

You can install this package using your preferred package manager. For example, using pip:

pip install weerlive-api

Usage

To use the Weerlive API, you can import it in your Python scripts and start interacting with the Weerlive API. Here is a simple example:

import asyncio

from weerlive import WeerliveApi


async def main():
    """Show example of fetching weather info from Weerlive API."""
    async with WeerliveApi(api_key="demo") as weerlive:
        weather = await weerlive.city("Amsterdam")
        print(weather)


if __name__ == "__main__":
    asyncio.run(main())

Contributing

Contributions are welcome! Please familiarize yourself with the contribution guidelines. This document will also help you set up your development environment.


Thank you for your interest in the Python Weerlive client! If you have any questions or need further assistance, feel free to open an issue or submit a pull request.

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

weerlive_api-0.2.3.tar.gz (65.6 kB view details)

Uploaded Source

Built Distribution

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

weerlive_api-0.2.3-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file weerlive_api-0.2.3.tar.gz.

File metadata

  • Download URL: weerlive_api-0.2.3.tar.gz
  • Upload date:
  • Size: 65.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for weerlive_api-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e65de16a246b29a135ea4f8e0ead69081aa763994d4cb8d8c4db9364830772d8
MD5 41d8602b4c8d29cf73aaaf51d75f8d94
BLAKE2b-256 9c3cac50f45589bd2cd713e7257898e506bb4c0986e733171a7cbec8b1afe6e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for weerlive_api-0.2.3.tar.gz:

Publisher: release.yaml on golles/python-weerlive

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

File details

Details for the file weerlive_api-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: weerlive_api-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for weerlive_api-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2b584f6c16f27761d39cf4a11ab4b1fb6174cb05b83b3d51fc0418eb56fe5e45
MD5 bd8a4f239d831bab4bc6fb8ceb26cd32
BLAKE2b-256 34f1b843d0e9460c271606b6a9263e1659b40d289b7526efeea486711eb87977

See more details on using hashes here.

Provenance

The following attestation bundles were made for weerlive_api-0.2.3-py3-none-any.whl:

Publisher: release.yaml on golles/python-weerlive

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