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())
Metadata
Release files for aioskynet 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aioskynet-1.0.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aioskynet-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.1 kB
Release files / aioskynet-1.0.0.tar.gz
| Download URL | aioskynet-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d9142d62aed9c1b2c0d07cf6442e6e2f8472933a2db04694d28ac799f5dd72f8
|
|
BLAKE2b-256 checksum How to use checksums |
320332f17f124722b87e9e08df89536f3ca57a4f8ebea61c8c90295197c2aa91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.10 Linux/5.4.0-58-generic
|
Release files / aioskynet-1.0.0-py3-none-any.whl
| Download URL | aioskynet-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ee99e16fcd0975a4482943d954e5567eb9e40c25063a1e40ce0584c4ff85f8c2
|
|
BLAKE2b-256 checksum How to use checksums |
0885a2173e4397e759d1f18fced6078660220dbb2b40197a90060d9215d3cf53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.10 Linux/5.4.0-58-generic
|