Simple Python wrapper for Uptime Kuma
Project description
pythonkuma
Simple Python wrapper for Uptime Kuma
Installation
pip install pythonkuma
Example
import asyncio
import aiohttp
from pythonkuma import UptimeKuma
URL = "https://uptime.exampe.com"
API_KEY = "api_key"
async def main():
async with aiohttp.ClientSession() as session:
uptime_kuma = UptimeKuma(session, URL, API_KEY)
response = await uptime_kuma.metrics()
print(response)
asyncio.run(main())
Credit
This library is a fork of pyuptimekuma by @jayakornk
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pythonkuma-0.1.0.tar.gz
(4.7 kB
view details)
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 pythonkuma-0.1.0.tar.gz.
File metadata
- Download URL: pythonkuma-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9143f049664106cfd2457115ee0d27cc012d1f0a62e71a7df466db6ee38e505c
|
|
| MD5 |
573497230e269a8b942b1d815abfac54
|
|
| BLAKE2b-256 |
5aa6b35a91b21105c2c3635d6ff7ab2288420a6e567e8454ef5b9ca3e0087856
|
File details
Details for the file pythonkuma-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pythonkuma-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
774dc7d197d5dd105cdd479e79b1587aef37454a4662a8b0233280f71b80d953
|
|
| MD5 |
f1b41cbbb890dc9faea826c85319bee5
|
|
| BLAKE2b-256 |
95f1619a91bd264d41a374025afb48e263d169c92413af8cc73e591889493fd0
|