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.4.tar.gz (76.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.4-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for weerlive_api-0.2.4.tar.gz
Algorithm Hash digest
SHA256 7496b90ac7b76323204ed86e91e0ad4cf9988b30bcdf47f5ca8cfbf5ae70bbab
MD5 49671043cbc21e4ef0bd955195b639b9
BLAKE2b-256 90956bbd9446e793fe2ab85c78cbfa8324807637db2161b0017c90878e1735d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for weerlive_api-0.2.4.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.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for weerlive_api-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4ff78e9d419d84f50e32c5f85816cea8b5d03f6d3143e681bc2b5dea4841dc20
MD5 80defa53d80d631588363d07d41cf841
BLAKE2b-256 0e796c03bb9125e6b4f9f9dd1146cfd589dd300289139f0251b5a7c862a0f04e

See more details on using hashes here.

Provenance

The following attestation bundles were made for weerlive_api-0.2.4-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