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.0.0rc4.tar.gz (4.7 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.0.0rc4-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

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

Hashes for pythonkuma-0.0.0rc4.tar.gz
Algorithm Hash digest
SHA256 79d4bf04800a5fbb8cd7413c6aea18a58d186bb5a9230b9aa8bd477f0d58ed9e
MD5 b005a4b10839358d66cb9bc947dc7c07
BLAKE2b-256 3d3cc57375f5270c26fa18ba70ed918363c112a9e3b2f3eddc37e5d916fcdb36

See more details on using hashes here.

File details

Details for the file pythonkuma-0.0.0rc4-py3-none-any.whl.

File metadata

File hashes

Hashes for pythonkuma-0.0.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 d3a29ae1c4fd4aca55409568a5266da2bf12ab0634b54cc4e9fcf74b76070dda
MD5 ba9592a006f568ce83bb3a1c36271106
BLAKE2b-256 77842f1c3892f5cf1800ebbda66c39741ae39739c2df9f18b014bbe8dcfe7012

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