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 Distribution
pyrestack-0.0.21.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for pyrestack-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b119b1781ea9ff56b19778334805af3ba70003aa2495d179528b4fe3579e271 |
|
MD5 | f5a5e9ece8753a8487e24227c20c78e5 |
|
BLAKE2b-256 | 8a109545c0ed07c4b0d2056c9e81bdf3366c49b2e1485f3551e21acddf0e8066 |