pythonkuma
Simple Python wrapper for Uptime Kuma
📖 Documentation
- Full Documentation: https://tr4nt0r.github.io/pythonkuma
- Source Code: https://github.com/tr4nt0r/pythonkuma
📦 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())
🛠 Contributing
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Submit a pull request.
Make sure to follow the contributing guidelines.
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
❤️ Support
If you find this project useful, consider sponsoring me on GitHub!
Credit
This library is a fork of pyuptimekuma by @jayakornk
Release files for pythonkuma 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pythonkuma-0.5.3.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pythonkuma-0.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / pythonkuma-0.5.3.tar.gz
| Download URL | pythonkuma-0.5.3.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a549764a77a63230027be34b55505173190e09cc0b5c778cd1df45c1d4a5f16f
|
|
BLAKE2b-256 checksum How to use checksums |
53e3519f8a57afdc24f0cc942c69ff62acfc71b4b91db45176764c617b14d1cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
Hatch/1.18.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1022-azure"}} HTTPX2/2.10.0
|
Release files / pythonkuma-0.5.3-py3-none-any.whl
| Download URL | pythonkuma-0.5.3-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0255c068f5b76b97f13ca2921ce391c76f001e5467c4d789e87649681d4b2e1c
|
|
BLAKE2b-256 checksum How to use checksums |
a82acb577e086e6fe3b910cb36e9b7d9b7c3e276d2f730746f8acfe87a430b99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
Hatch/1.18.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.18.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1022-azure"}} HTTPX2/2.10.0
|