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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytusk-0.2.0-py3-none-any.whl (37.8 kB view details)

Uploaded Python 3

File details

Details for the file pytusk-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pytusk-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 37.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.6

File hashes

Hashes for pytusk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fefd8719843edc9ebe6d4334a36b42bc1af9d99faa3a75cff2fa10e7cd3346dc
MD5 d2d0f7a1ed9c5198ff072c47cb26ab0d
BLAKE2b-256 de18771e0542a01546e2bfe2f6b095d4c99394921d446a516c7417be3148de94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page