Simple Python wrapper for Uptime Kuma
Project description
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 buying me a coffee ☕ or sponsoring me on GitHub!
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
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.4.0.tar.gz.
File metadata
- Download URL: pythonkuma-0.4.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: Hatch/1.16.3 cpython/3.12.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9058ed5cdd80089d1d678b636263ae4d9d5f92d38b8f6b3c08e71c74ed6924ef
|
|
| MD5 |
a51f3f291976b85b43ecd05aeb1a11c0
|
|
| BLAKE2b-256 |
5a3267bef2162fe97db8ee3341ea8ab736901cd8ad8128797bfe53f4ee434b67
|
File details
Details for the file pythonkuma-0.4.0-py3-none-any.whl.
File metadata
- Download URL: pythonkuma-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: Hatch/1.16.3 cpython/3.12.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0730a98e22b176644a868786ee291a3c391d1d45729dbd3e9f231fd1624056c2
|
|
| MD5 |
4272f25b244bca8c2e836506b4b4fe87
|
|
| BLAKE2b-256 |
24ad211cb70d2a8496828d136af67b3af0ef996980adabee591d74705d561ac1
|