Skip to main content

A python SDK for building interactions with Walrus storage management.

Installing pytusk automatically installs the pysui SDK for underlying configuration and transport support.

Requires Python 3.10.6 or later.

Installation

pip install pytusk

Any Python package manager (pipenv, poetry, uv, etc.) works equally well in place of pip.

Quick start

Configuration setup

As noted, pytusk leverages pysui for configuration and client transport support. So when setting up to interact with Walrus the configuration setup is first step:

from pytusk import PytuskConfiguration
from pytusk.client.walrus_client import WalrusClient

cfg = PytuskConfiguration(active_network="testnet", pysui_profile_name="testnet")
client = WalrusClient(pytusk_config=cfg)

active_network and pysui_profile_name must both be set, and to the same network — pytusk does not infer one from the other, and Walrus is not available on devnet.

See the full documentation for configuration options, available commands, and transaction examples.

tusky CLI

pytusk also installs the tusky command-line tool, for storing, reading, and managing the lifecycle of Walrus blobs and quilts without writing any code:

tusky --help

Documentation

Full documentation (configuration, commands, transactions, and the tusky CLI reference) is available at https://pytusk.readthedocs.io/en/latest/index.html.

Metadata

Release files for pytusk 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pytusk 0.6.0
File Interpreter ABI Platform
pytusk-0.6.0-py3-none-any.whl Python 3 none any Details

Release files / pytusk-0.6.0-py3-none-any.whl

Download URL pytusk-0.6.0-py3-none-any.whl
Size 343.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8201c75550b4856f4426cb0f2c86136587fe718c4684d086800e965849d58ea7
BLAKE2b-256 checksum
How to use checksums
6752c20321ad224dd70900965889244020ac1e97b2808c41bc2fa7d0e27656ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.6.0 This release

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page