Name | edwh-uptime-plugin JSON |
Version |
0.5.2
JSON |
| download |
home_page | None |
Summary | UptimeRobot plugin for `edwh` |
upload_time | 2025-01-16 12:09:50 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
keywords |
edwh
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# edwh-uptime-plugin
[![PyPI - Version](https://img.shields.io/pypi/v/edwh-uptime-plugin.svg)](https://pypi.org/project/edwh-uptime-plugin)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/edwh-uptime-plugin.svg)](https://pypi.org/project/edwh-uptime-plugin)
-----
UptimeRobot API integration for the `edwh` tool.
**Table of Contents**
- [Installation](#installation)
- [License](#license)
## Installation
```console
pip install edwh-uptime-plugin
```
But probably you want to install the whole edwh package:
```console
pipx install edwh[uptime]
# or
pipx install edwh[plugins,omgeving]
```
## Usage
```bash
# 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
```python
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](https://spdx.org/licenses/MIT.html) license.
Raw data
{
"_id": null,
"home_page": null,
"name": "edwh-uptime-plugin",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "edwh",
"author": null,
"author_email": "Remco Boerma <remco.b@educationwarehouse.nl>, Robin van der Noord <robin.vdn@educationwarehouse.nl>",
"download_url": "https://files.pythonhosted.org/packages/1b/16/fb56700d49750f981ca52fe54e72f2f2a9f91eeaf344350f107ed89c0099/edwh_uptime_plugin-0.5.2.tar.gz",
"platform": null,
"description": "# edwh-uptime-plugin\n\n[![PyPI - Version](https://img.shields.io/pypi/v/edwh-uptime-plugin.svg)](https://pypi.org/project/edwh-uptime-plugin)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/edwh-uptime-plugin.svg)](https://pypi.org/project/edwh-uptime-plugin)\n\n-----\n\nUptimeRobot API integration for the `edwh` tool.\n\n**Table of Contents**\n\n- [Installation](#installation)\n- [License](#license)\n\n## Installation\n\n```console\npip install edwh-uptime-plugin\n```\n\nBut probably you want to install the whole edwh package:\n\n```console\npipx install edwh[uptime]\n# or\npipx install edwh[plugins,omgeving]\n```\n\n## Usage\n\n```bash\n# set your api key and see your profile info:\nedwh uptime.account\n\n# see the other available commands:\nedwh help uptime\n```\n\n`UPTIMEROBOT_APIKEY` is saved in a `.env` file. You can also set `IS_DEBUG=1` if you want to see verbose logging (every\nrequest and response).\n\n### As a Library\n\n```python\nfrom edwh_uptime_plugin import tasks\nfrom edwh_uptime_plugin.tasks import specific_task\nfrom edwh_uptime_plugin.uptimerobot import UptimeRobot, uptime_robot\n\n# run specific tasks via tasks.some_task or import some_task\ntasks.specific_task == specific_task\n\n# by default, the API key will be loaded from .env or prompted.\nuptime_robot.api_key = \"specific-key\" # before any API calls to skip .env behavior\n\n# uptime_robot is an instance of UptimeRobot\nuptime_robot.get_account_details()\n```\n\n## License\n\n`edwh-uptime-plugin` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n",
"bugtrack_url": null,
"license": null,
"summary": "UptimeRobot plugin for `edwh`",
"version": "0.5.2",
"project_urls": {
"Documentation": "https://github.com/educationwarehouse/edwh-uptime-plugin#readme",
"Issues": "https://github.com/educationwarehouse/edwh-uptime-plugin/issues",
"Source": "https://github.com/educationwarehouse/edwh-uptime-plugin"
},
"split_keywords": [
"edwh"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "66bee06fdc0ef97ea02965105e3fe0751af8f125296a313856c97280b02d9fd7",
"md5": "a198bbe8aa353641cd291a06d2679bd8",
"sha256": "11767d518e88c4531e4612bfda75acb0f079ad35d494a66be5791e70ac45b63d"
},
"downloads": -1,
"filename": "edwh_uptime_plugin-0.5.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a198bbe8aa353641cd291a06d2679bd8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 14184,
"upload_time": "2025-01-16T12:09:47",
"upload_time_iso_8601": "2025-01-16T12:09:47.287942Z",
"url": "https://files.pythonhosted.org/packages/66/be/e06fdc0ef97ea02965105e3fe0751af8f125296a313856c97280b02d9fd7/edwh_uptime_plugin-0.5.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "1b16fb56700d49750f981ca52fe54e72f2f2a9f91eeaf344350f107ed89c0099",
"md5": "ef8cee9a5ecaf18cb91f9e9d1c55d554",
"sha256": "6da89c4e308e65d8d10139acde4d4173798c8dd6588b199bfecbea571664cc4b"
},
"downloads": -1,
"filename": "edwh_uptime_plugin-0.5.2.tar.gz",
"has_sig": false,
"md5_digest": "ef8cee9a5ecaf18cb91f9e9d1c55d554",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 55499,
"upload_time": "2025-01-16T12:09:50",
"upload_time_iso_8601": "2025-01-16T12:09:50.914955Z",
"url": "https://files.pythonhosted.org/packages/1b/16/fb56700d49750f981ca52fe54e72f2f2a9f91eeaf344350f107ed89c0099/edwh_uptime_plugin-0.5.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-16 12:09:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "educationwarehouse",
"github_project": "edwh-uptime-plugin#readme",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "edwh-uptime-plugin"
}