Skip to main content

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


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.2.0rc0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythonkuma-0.2.0rc0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file pythonkuma-0.2.0rc0.tar.gz.

File metadata

  • Download URL: pythonkuma-0.2.0rc0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pythonkuma-0.2.0rc0.tar.gz
Algorithm Hash digest
SHA256 a69f74242e55ced7d00096e777216b9814319c4f08a0d5cd9c63563bcd0c79a9
MD5 385139714441d2da40fbb4b046cc0002
BLAKE2b-256 83b8c413b1c04f8361549a43029c976a615fb75891494d3cf3fcca8ea86e9f85

See more details on using hashes here.

File details

Details for the file pythonkuma-0.2.0rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for pythonkuma-0.2.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 131f4dace26e38469e4ac7b5c8327e1101682785da35dd3ae9de581392d3642a
MD5 a9176894d30e58f9fc4fe31862412b0a
BLAKE2b-256 3f81e4d32f294a54800f4c3c4baad14c978a9407b37b7799c21c8f3d596d0bc6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page