Skip to main content

UptimeRobot plugin for `edwh`

Project description

edwh-uptime-plugin

PyPI - Version PyPI - Python Version


UptimeRobot API integration for the edwh tool.

Table of Contents

Installation

pip install edwh-uptime-plugin

But probably you want to install the whole edwh package:

pipx install edwh[uptime]
# or
pipx install edwh[plugins,omgeving]

Usage

# set your api key and see your profile info:
edwh uptime.account

# see the other available commands:
edwh help uptime

UPTIMEROBOT_APIKEY is saved in a .env file. You can also set IS_DEBUG=1 if you want to see verbose logging (every request and response).

As a Library

from edwh_uptime_plugin import tasks
from edwh_uptime_plugin.tasks import specific_task
from edwh_uptime_plugin.uptimerobot import UptimeRobot, uptime_robot

# run specific tasks via tasks.some_task or import some_task
tasks.specific_task == specific_task

# by default, the API key will be loaded from .env or prompted.
uptime_robot.api_key = "specific-key"  # before any API calls to skip .env behavior

# uptime_robot is an instance of UptimeRobot
uptime_robot.get_account_details()

License

edwh-uptime-plugin is distributed under the terms of the MIT license.

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

edwh_uptime_plugin-0.5.4.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

edwh_uptime_plugin-0.5.4-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file edwh_uptime_plugin-0.5.4.tar.gz.

File metadata

  • Download URL: edwh_uptime_plugin-0.5.4.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for edwh_uptime_plugin-0.5.4.tar.gz
Algorithm Hash digest
SHA256 b6ddc74842cffc68c355902c4f09844242368235a3e64454782057e7f0206aa5
MD5 a517fbb9c1a1e786eb39d4e15603c2c3
BLAKE2b-256 24c3992db26e4a92f8c191a1c401d7eaa5e48b0d70b354d6b794548ae4f7cef5

See more details on using hashes here.

File details

Details for the file edwh_uptime_plugin-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: edwh_uptime_plugin-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for edwh_uptime_plugin-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 70aa5993b315475768cc93438ac27b0cf7b2013b0e7dd0820f5c60432269d12b
MD5 bdc7501fa765ced6871760af36b0cdab
BLAKE2b-256 58e22d5f138b59fc0edae55d40bdb3cab70a6afc1e5a1b0647a3d7edc29d69dd

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