2 unstable releases

0.6.2 Mar 15, 2023
0.0.0 Dec 20, 2022

#1870 in Development tools

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