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.0.0rc4.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.0.0rc4.tar.gz.
File metadata
- Download URL: pythonkuma-0.0.0rc4.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 |
79d4bf04800a5fbb8cd7413c6aea18a58d186bb5a9230b9aa8bd477f0d58ed9e
|
|
| MD5 |
b005a4b10839358d66cb9bc947dc7c07
|
|
| BLAKE2b-256 |
3d3cc57375f5270c26fa18ba70ed918363c112a9e3b2f3eddc37e5d916fcdb36
|
File details
Details for the file pythonkuma-0.0.0rc4-py3-none-any.whl.
File metadata
- Download URL: pythonkuma-0.0.0rc4-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3a29ae1c4fd4aca55409568a5266da2bf12ab0634b54cc4e9fcf74b76070dda
|
|
| MD5 |
ba9592a006f568ce83bb3a1c36271106
|
|
| BLAKE2b-256 |
77842f1c3892f5cf1800ebbda66c39741ae39739c2df9f18b014bbe8dcfe7012
|