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.0.tar.gz (5.4 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.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pythonkuma-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f6e082f4f65c5efd93a5d077f51399e978526f998425fe2dd86160b8e6ba277b
MD5 a0d33ae7bf5575f7339811b666ddc3d3
BLAKE2b-256 4ab3677addc65eb35a4aab191cafad5aa9d8beb43617cb4b2197f87b8042ab2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythonkuma-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for pythonkuma-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9b55a95f7ea4403a1119527ab5b30f808c9ab1becc94e50bde2eba8b2e60d32
MD5 e6e3d12c1924d5b632f737bd93a5ceb0
BLAKE2b-256 e9ed9030e3293a0957f60491795d159bc005f1d7a491f8958123024228cc74d4

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