Asynchronous Python client for the Weerlive API
Project description
Python Weerlive
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e65de16a246b29a135ea4f8e0ead69081aa763994d4cb8d8c4db9364830772d8
|
|
| MD5 |
41d8602b4c8d29cf73aaaf51d75f8d94
|
|
| BLAKE2b-256 |
9c3cac50f45589bd2cd713e7257898e506bb4c0986e733171a7cbec8b1afe6e8
|
Provenance
The following attestation bundles were made for weerlive_api-0.2.3.tar.gz:
Publisher:
release.yaml on golles/python-weerlive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
weerlive_api-0.2.3.tar.gz -
Subject digest:
e65de16a246b29a135ea4f8e0ead69081aa763994d4cb8d8c4db9364830772d8 - Sigstore transparency entry: 724873228
- Sigstore integration time:
-
Permalink:
golles/python-weerlive@0d2b8d71a4933e095d8b314a02f4ac8a52ea3727 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/golles
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@0d2b8d71a4933e095d8b314a02f4ac8a52ea3727 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b584f6c16f27761d39cf4a11ab4b1fb6174cb05b83b3d51fc0418eb56fe5e45
|
|
| MD5 |
bd8a4f239d831bab4bc6fb8ceb26cd32
|
|
| BLAKE2b-256 |
34f1b843d0e9460c271606b6a9263e1659b40d289b7526efeea486711eb87977
|
Provenance
The following attestation bundles were made for weerlive_api-0.2.3-py3-none-any.whl:
Publisher:
release.yaml on golles/python-weerlive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
weerlive_api-0.2.3-py3-none-any.whl -
Subject digest:
2b584f6c16f27761d39cf4a11ab4b1fb6174cb05b83b3d51fc0418eb56fe5e45 - Sigstore transparency entry: 724873236
- Sigstore integration time:
-
Permalink:
golles/python-weerlive@0d2b8d71a4933e095d8b314a02f4ac8a52ea3727 -
Branch / Tag:
refs/tags/v0.2.3 - Owner: https://github.com/golles
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@0d2b8d71a4933e095d8b314a02f4ac8a52ea3727 -
Trigger Event:
release
-
Statement type: