Skip to main content

Simple Python wrapper for Uptime Kuma

Project description

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 buying me a coffee ☕ or sponsoring me on GitHub!


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.5.2.tar.gz (7.1 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.5.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pythonkuma-0.5.2.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: Hatch/1.17.1 {"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.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1020-azure"}} HTTPX2/2.5.0

File hashes

Hashes for pythonkuma-0.5.2.tar.gz
Algorithm Hash digest
SHA256 d72e52ce07d5669a3ac2dd49c8f7a9ce7c11eb09cc2d058eaf790e47c5360a6b
MD5 de4d4df96b762a0fdc4ffd32fe25055e
BLAKE2b-256 18cd952770a8d6411877c9100455ca3c4fbdd84c73b83425d88bbb0521228047

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pythonkuma-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: Hatch/1.17.1 {"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.17.1"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1020-azure"}} HTTPX2/2.5.0

File hashes

Hashes for pythonkuma-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd274a8032887e4dd095cfcb48b4aaaf4a65e1eaa16625d7ba69483e6d799ddb
MD5 c34665c79aa7c51eeb9009ebf9d9f358
BLAKE2b-256 fde44ead3bc8692a5b6081e12568ee2c63303423d7ca43c239f5599337f539fd

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