edwh-uptime-plugin
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.
Metadata
Release files for edwh-uptime-plugin 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| edwh_uptime_plugin-0.5.4.tar.gz | 17.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edwh_uptime_plugin-0.5.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.4 kB
Release files / edwh_uptime_plugin-0.5.4.tar.gz
| Download URL | edwh_uptime_plugin-0.5.4.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6ddc74842cffc68c355902c4f09844242368235a3e64454782057e7f0206aa5
|
|
BLAKE2b-256 checksum How to use checksums |
24c3992db26e4a92f8c191a1c401d7eaa5e48b0d70b354d6b794548ae4f7cef5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / edwh_uptime_plugin-0.5.4-py3-none-any.whl
| Download URL | edwh_uptime_plugin-0.5.4-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70aa5993b315475768cc93438ac27b0cf7b2013b0e7dd0820f5c60432269d12b
|
|
BLAKE2b-256 checksum How to use checksums |
58e22d5f138b59fc0edae55d40bdb3cab70a6afc1e5a1b0647a3d7edc29d69dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|