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.2.0.tar.gz
(5.4 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.2.0.tar.gz.
File metadata
- Download URL: pythonkuma-0.2.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6e082f4f65c5efd93a5d077f51399e978526f998425fe2dd86160b8e6ba277b
|
|
| MD5 |
a0d33ae7bf5575f7339811b666ddc3d3
|
|
| BLAKE2b-256 |
4ab3677addc65eb35a4aab191cafad5aa9d8beb43617cb4b2197f87b8042ab2d
|
File details
Details for the file pythonkuma-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pythonkuma-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9b55a95f7ea4403a1119527ab5b30f808c9ab1becc94e50bde2eba8b2e60d32
|
|
| MD5 |
e6e3d12c1924d5b632f737bd93a5ceb0
|
|
| BLAKE2b-256 |
e9ed9030e3293a0957f60491795d159bc005f1d7a491f8958123024228cc74d4
|