Simple Python wrapper for ReStack
Project description
pyuptimekuma
Simple Python wrapper for ReStack
Installation
python3 -m pip install pyrestack
Example
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pyrestack-0.0.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0046280eb38f3f36e5d14867bb45989fe028f4b0dffb72808d948aad444c9f93 |
|
MD5 | 2748f99797e7a7b22d0e612ffeb8cd39 |
|
BLAKE2b-256 | e07299727e1d4762017738deaeef5e5d12cd13fb86918bb01887c4f7a9df6be9 |