Skip to main content

pythonkuma

Simple Python wrapper for Uptime Kuma

build codecov PyPI version PyPI - Downloads GitHub Sponsor


📖 Documentation


📦 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:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes and commit them.
  4. 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)

Source distribution for pythonkuma 0.5.3
File Size Uploaded
pythonkuma-0.5.3.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pythonkuma 0.5.3
File Interpreter ABI Platform
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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page