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.3.5
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.3.5.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edwh_uptime_plugin-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.1 kB
Release files / edwh_uptime_plugin-0.3.5.tar.gz
| Download URL | edwh_uptime_plugin-0.3.5.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c89c0d9c39710ea2a19c8867a45c5f89fc6ee529277085a5face9594615dcd1
|
|
BLAKE2b-256 checksum How to use checksums |
300a311a03ef823b821ba2ab8be1fe7b9082ef349d3332208b243d02b5828ac3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|
Release files / edwh_uptime_plugin-0.3.5-py3-none-any.whl
| Download URL | edwh_uptime_plugin-0.3.5-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d02f5614cba77e3ca9b6a8b7dd9abfdc45af44320e826d09d83743b9d496883
|
|
BLAKE2b-256 checksum How to use checksums |
ae435ce31f34cbaadf282f5d6f62b05baa5ce6ee4313191e8c31af6db44e3e2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.27.0
|