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.0rc1.tar.gz
(5.3 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.0rc1.tar.gz.
File metadata
- Download URL: pythonkuma-0.2.0rc1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26858b2f2f4bf8247b5b8c33b870601781c6c00bda2ebc3d95c91be0e2a72988
|
|
| MD5 |
4ae85b0c1014176a962e20e87da0910f
|
|
| BLAKE2b-256 |
f28675945820710e4f040a69988f7e97b5dfeb23d98346efa784f271fdc11fbe
|
File details
Details for the file pythonkuma-0.2.0rc1-py3-none-any.whl.
File metadata
- Download URL: pythonkuma-0.2.0rc1-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 |
9bc2427bd9df3fdd3cb03a1db9277eb8d2897de2e6351700639e51ddf9e98557
|
|
| MD5 |
bfc8e444d3a58eb8c27b51a5ec3906c2
|
|
| BLAKE2b-256 |
75aff418e3087c29e3de3e33137cd6515f91c38750bdb895cde2a1c62ccbccfd
|