Skip to main content

Python client for GiwaTer Universal Router.

Project description

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

Project details


Download files

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

Source Distribution

giwater_python_client-0.1.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

giwater_python_client-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file giwater_python_client-0.1.0.tar.gz.

File metadata

  • Download URL: giwater_python_client-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for giwater_python_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 398957a86324d7bf24f192de21d4c2473898d4e01464de7331f368d91a944e52
MD5 b65e3123dcf9c772f918441934e7c309
BLAKE2b-256 85c847bf411be3bf6502806cc4de2c287d086b561fffb456605c52dc1d1bb4d8

See more details on using hashes here.

File details

Details for the file giwater_python_client-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: giwater_python_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for giwater_python_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e51a016a38270b3220e0f6fb05d4e241f5b3c28ffd5a422045b667d2983298b0
MD5 69880dbb557911c83fd093c4aa7e54ae
BLAKE2b-256 54eae19fc714c2583be6aadfa0771a82a6fe330b48349e151aa30ee8740feb6d

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 Pingdom Monitoring Sentry Error logging StatusPage Status page