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 hashes)
Built Distribution
Close
Hashes for aioskynet-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee99e16fcd0975a4482943d954e5567eb9e40c25063a1e40ce0584c4ff85f8c2 |
|
MD5 | 3c4d88298df21fb29da1e02fe29422af |
|
BLAKE2b-256 | 0885a2173e4397e759d1f18fced6078660220dbb2b40197a90060d9215d3cf53 |