2 unstable releases

0.6.2 Mar 15, 2023
0.0.0 Dec 20, 2022

#1993 in Development tools

Download history 4/week @ 2024-02-21 13/week @ 2024-02-28 4/week @ 2024-03-06 59/week @ 2024-03-13 9/week @ 2024-03-27 13/week @ 2024-04-03

84 downloads per month

MIT/Apache and GPL-3.0-only

155KB
3K SLoC

The Python SDK for Shadow Drive

By: GenesysGo

Getting Started

Check out the examples/ directory for a demonstration of the functionality.

from shadow_drive import ShadowDriveClient

# Initialize client
client = ShadowDriveClient("test.json")

# Create account
size = 2 ** 20
account, tx = client.create_account("test", size, use_account=True)

# Upload files
files = ["./files/alpha.txt", "./files/not_alpha.txt"]
urls = client.upload_files(files)

# Delete files
client.delete_files(urls)

# Delete account
client.delete_account(account)

About this Repo

This package uses PyO3 to build a wrapper around the official Shadow Drive Rust SDK. For more information, see the Rust SDK documentation.

Dependencies

~78MB
~1.5M SLoC