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.0rc0.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.0rc0.tar.gz.
File metadata
- Download URL: pythonkuma-0.2.0rc0.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 |
a69f74242e55ced7d00096e777216b9814319c4f08a0d5cd9c63563bcd0c79a9
|
|
| MD5 |
385139714441d2da40fbb4b046cc0002
|
|
| BLAKE2b-256 |
83b8c413b1c04f8361549a43029c976a615fb75891494d3cf3fcca8ea86e9f85
|
File details
Details for the file pythonkuma-0.2.0rc0-py3-none-any.whl.
File metadata
- Download URL: pythonkuma-0.2.0rc0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
131f4dace26e38469e4ac7b5c8327e1101682785da35dd3ae9de581392d3642a
|
|
| MD5 |
a9176894d30e58f9fc4fe31862412b0a
|
|
| BLAKE2b-256 |
3f81e4d32f294a54800f4c3c4baad14c978a9407b37b7799c21c8f3d596d0bc6
|