Skip to main content

GiwaTer Python Client

Python client library for interacting with the GiwaTer Universal Router contract.

Installation

From PyPI:

pip install giwater-python-client

From a checkout:

uv sync

Quick Start

cp env.example .env
import os
from dotenv import load_dotenv

from giwaterweb3 import GiwaTerClient

load_dotenv()

client = GiwaTerClient(
    private_key=os.environ["PRIVATE_KEY"],
    http_rpc_url=os.environ["RPC_URL"],
    universal_router_address=os.environ["ROUTER_ADDRESS"],
)

# Example (view call)
# token0, token1 = client.contract.sort_tokens("0x...", "0x...")

Dev

uv sync --group dev
uv run pytest

Metadata

Release files for giwater-python-client 0.1.0

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

Source distribution (sdist)

Source distribution for giwater-python-client 0.1.0
File Size Uploaded
giwater_python_client-0.1.0.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for giwater-python-client 0.1.0
File Interpreter ABI Platform
giwater_python_client-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.8 kB

Release files / giwater_python_client-0.1.0.tar.gz

Download URL giwater_python_client-0.1.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
398957a86324d7bf24f192de21d4c2473898d4e01464de7331f368d91a944e52
BLAKE2b-256 checksum
How to use checksums
85c847bf411be3bf6502806cc4de2c287d086b561fffb456605c52dc1d1bb4d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / giwater_python_client-0.1.0-py3-none-any.whl

Download URL giwater_python_client-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e51a016a38270b3220e0f6fb05d4e241f5b3c28ffd5a422045b667d2983298b0
BLAKE2b-256 checksum
How to use checksums
54eae19fc714c2583be6aadfa0771a82a6fe330b48349e151aa30ee8740feb6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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