Skip to main content

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


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)

Uploaded Source

Built Distribution

aioskynet-1.0.0-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page