edwh-uptime-plugin


Nameedwh-uptime-plugin JSON
Version 0.3.6 PyPI version JSON
download
home_pageNone
SummaryUptimeRobot plugin for `edwh`
upload_time2024-04-15 10:05:08
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
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/41/43/051565a738b429cef0287f1d28ffb7b8deb7c21c5cec1f753790431a56f8/edwh_uptime_plugin-0.3.6.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.3.6",
    "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": "dffdbcf8e6959b5569b94f88f7ec4c82e6bccd6e60db091deead90a5bcd080d1",
                "md5": "104b2a88cd6cb8c637aa23b316336bad",
                "sha256": "06ceb4c280ad485ffe8bfbb90c5651361e5b47633f1da4b933359831dfed5557"
            },
            "downloads": -1,
            "filename": "edwh_uptime_plugin-0.3.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "104b2a88cd6cb8c637aa23b316336bad",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 11551,
            "upload_time": "2024-04-15T10:05:09",
            "upload_time_iso_8601": "2024-04-15T10:05:09.904465Z",
            "url": "https://files.pythonhosted.org/packages/df/fd/bcf8e6959b5569b94f88f7ec4c82e6bccd6e60db091deead90a5bcd080d1/edwh_uptime_plugin-0.3.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4143051565a738b429cef0287f1d28ffb7b8deb7c21c5cec1f753790431a56f8",
                "md5": "195dba3fbb9a2dc18d27e73338d935c7",
                "sha256": "beb80e94081aefe5ca95dddcdc9207d578db9aa03d75799d89c897da6b2c63bd"
            },
            "downloads": -1,
            "filename": "edwh_uptime_plugin-0.3.6.tar.gz",
            "has_sig": false,
            "md5_digest": "195dba3fbb9a2dc18d27e73338d935c7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 51319,
            "upload_time": "2024-04-15T10:05:08",
            "upload_time_iso_8601": "2024-04-15T10:05:08.173576Z",
            "url": "https://files.pythonhosted.org/packages/41/43/051565a738b429cef0287f1d28ffb7b8deb7c21c5cec1f753790431a56f8/edwh_uptime_plugin-0.3.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-15 10:05:08",
    "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"
}
        
Elapsed time: 0.30415s