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 = ""
USERNAME = ""
PASSWORD = ""
async def main():
async with aiohttp.ClientSession() as session:
uptime_kuma = UptimeKuma(session, URL, USERNAME, PASSWORD)
response = await uptime_kuma.async_get_monitors()
print(response.data)
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.0.0rc1.tar.gz
(5.2 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.0.0rc1.tar.gz.
File metadata
- Download URL: pythonkuma-0.0.0rc1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee8d48fb01e2d4e6b80d0f6e386cb4de6ea834925aa3f9c0d4b2bfa43435d9e
|
|
| MD5 |
b14c5fe2cd795441e396e06a96258113
|
|
| BLAKE2b-256 |
1f9f7920b70ef2986a03a5b47b38eb82bd080b000bd181c1bc825abc6165f86d
|
File details
Details for the file pythonkuma-0.0.0rc1-py3-none-any.whl.
File metadata
- Download URL: pythonkuma-0.0.0rc1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38d124882d2ef9ade2cb3f7cbcf2eacfa5f9ee3a0d064982a5d4f3d12995cbe9
|
|
| MD5 |
ba1b738ccf8bff9a268d1b0121e2cc88
|
|
| BLAKE2b-256 |
cab093d09d3d515dfa6ee867e6c7d4684638a0b099d440cd9dfc9aef7c5403a8
|