An async wrapper of the Sia Skynet API.
Project description
aioskynet
An async wrapper of the Sia Skynet API.
Basic usage
Uploading a file
from asyncio import run
from aioskynet import SkynetClient, File
client = SkynetClient()
async def main():
file = File("test.py", open("test.py"))
data = await client.upload_file(file)
print(data) # Instance of aioskynet.SkynetResponse
# Close the client when finished.
await client.close()
run(main())
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
aioskynet-1.0.0.tar.gz
(3.6 kB
view details)
Built Distribution
File details
Details for the file aioskynet-1.0.0.tar.gz
.
File metadata
- Download URL: aioskynet-1.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/5.4.0-58-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9142d62aed9c1b2c0d07cf6442e6e2f8472933a2db04694d28ac799f5dd72f8 |
|
MD5 | 4976c15f2449b61883f7f4d71cb44ddc |
|
BLAKE2b-256 | 320332f17f124722b87e9e08df89536f3ca57a4f8ebea61c8c90295197c2aa91 |
File details
Details for the file aioskynet-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: aioskynet-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/5.4.0-58-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee99e16fcd0975a4482943d954e5567eb9e40c25063a1e40ce0584c4ff85f8c2 |
|
MD5 | 3c4d88298df21fb29da1e02fe29422af |
|
BLAKE2b-256 | 0885a2173e4397e759d1f18fced6078660220dbb2b40197a90060d9215d3cf53 |