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.3.0.tar.gz (5.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.3.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pythonkuma-0.3.0.tar.gz
Algorithm Hash digest
SHA256 030808448152aa046d67df3db5edad9ed979647a17011cf9e9773ad7d6890d71
MD5 19f373c7e1165c1a191b80f19bb0d630
BLAKE2b-256 cb7bafc64ca262c57669d72910624fbfc7555c3a009ac408315e0dbd05d27508

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pythonkuma-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9dc1f58b3f09473e3affa5877dbc67e05f9931b4281bc2e6870ea68b88f4637
MD5 d09ffca04e1885742444fdbb87e27546
BLAKE2b-256 7679d245d3cab08dc610466949c8003e51870c70c3ef6f2fe71d4ad676e6176e

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