pyrestack


Namepyrestack JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/restack-project/restack
SummaryPython wrapper for ReStack API
upload_time2024-06-13 20:39:09
maintainerNone
docs_urlNone
authorFloris Heyvaert
requires_python>=3.12.0
licenseMIT License
keywords pyrestack setuptools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pyuptimekuma
Simple Python wrapper for ReStack

## Installation

```shell
python3 -m pip install pyrestack
```

## Example

```python
import asyncio

import aiohttp

from pyrestack import ReStack

URL = ""
USERNAME = ""
PASSWORD = ""
VERIFY_SSL = True


async def main():

    async with aiohttp.ClientSession() as session:
        restack_api = ReStack(session, URL, USERNAME, PASSWORD, VERIFY_SSL)
        response = await restack_api.async_get_stacks()
        print(response.data)


loop = asyncio.get_event_loop()
loop.run_until_complete(main())

```

## Credit

I would like to give a special thanks to these repositories since a lot of code has been inspired by them.

- [ludeeus/pyuptimerobot](https://github.com/ludeeus/pyuptimerobot)
- [meichthys/utptime_kuma_monitor](https://github.com/meichthys/utptime_kuma_monitor)
- [jayakornk/pyuptimekuma](https://github.com/meichthys/utptime_kuma_monitor)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/restack-project/restack",
    "name": "pyrestack",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12.0",
    "maintainer_email": null,
    "keywords": "pyrestack, setuptools",
    "author": "Floris Heyvaert",
    "author_email": "floris.heyvaert@gmail.com",
    "download_url": null,
    "platform": null,
    "description": "# pyuptimekuma\nSimple Python wrapper for ReStack\n\n## Installation\n\n```shell\npython3 -m pip install pyrestack\n```\n\n## Example\n\n```python\nimport asyncio\n\nimport aiohttp\n\nfrom pyrestack import ReStack\n\nURL = \"\"\nUSERNAME = \"\"\nPASSWORD = \"\"\nVERIFY_SSL = True\n\n\nasync def main():\n\n    async with aiohttp.ClientSession() as session:\n        restack_api = ReStack(session, URL, USERNAME, PASSWORD, VERIFY_SSL)\n        response = await restack_api.async_get_stacks()\n        print(response.data)\n\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(main())\n\n```\n\n## Credit\n\nI would like to give a special thanks to these repositories since a lot of code has been inspired by them.\n\n- [ludeeus/pyuptimerobot](https://github.com/ludeeus/pyuptimerobot)\n- [meichthys/utptime_kuma_monitor](https://github.com/meichthys/utptime_kuma_monitor)\n- [jayakornk/pyuptimekuma](https://github.com/meichthys/utptime_kuma_monitor)\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Python wrapper for ReStack API",
    "version": "0.1.3",
    "project_urls": {
        "Homepage": "https://github.com/restack-project/restack"
    },
    "split_keywords": [
        "pyrestack",
        " setuptools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86ef7d69cb6b001ad8f5eefcb1c245d3446215298860aaa91544eba7b82c27c1",
                "md5": "edfa6653e231de72d2c94a469f842935",
                "sha256": "5c1b3edb9b23c483bf3603cbb2483d84f7cdca32f52b6345ae85c197862bcb16"
            },
            "downloads": -1,
            "filename": "pyrestack-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "edfa6653e231de72d2c94a469f842935",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12.0",
            "size": 4429,
            "upload_time": "2024-06-13T20:39:09",
            "upload_time_iso_8601": "2024-06-13T20:39:09.832273Z",
            "url": "https://files.pythonhosted.org/packages/86/ef/7d69cb6b001ad8f5eefcb1c245d3446215298860aaa91544eba7b82c27c1/pyrestack-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-13 20:39:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "restack-project",
    "github_project": "restack",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyrestack"
}
        
Elapsed time: 0.63145s