Skip to main content

Python SDK for GoKite AI

Project description

Python SDK for GoKite AI.

Development

Setup

Install locally

  1. Clone the repository.
  2. Create a virtual environment and install the package.
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Run the Client

Try run the client.

gokite --help

CICD

  1. the cicd is integrated with python 3.8 to 3.12 and on Ubuntu, MacOS and windows. make sure your PR passed all checks on all environment
  2. make sure some tests are added in the folder, cicd will run checks and test automatically
  3. if all tests passes, the version will be automatically boost and submit a newer version to PyPi
  4. If you want to include the comment in CHANGELOG.md, in Pull request, add ##Changelog in the comment

Gokite - Kite SDK for Python

A Python SDK for interacting with the Kite Network, enabling AI agents to perform identity management, wallet operations, and on-chain payments.

Installation

pip install gokite

Usage

import os
from gokite import KiteClient

os.environ["KITE_API_KEY"] = "your-api-key-here"
kite_client = KiteClient()

# Get identity
identity = kite_client.get_identity()
print(identity)

# Make a payment
tx_hash = kite_client.make_payment(to_address="0x...", amount=1.5)
print(f"Transaction hash: {tx_hash}")

Project details


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.

gokite-0.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file gokite-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: gokite-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.12

File hashes

Hashes for gokite-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1bad7038fbe2d576c5f38a48a9a5a66d8472fda2fd2bc8c42c2a05352196d2f6
MD5 878f9762a9a1e1c17399b1e35289766a
BLAKE2b-256 4f9c6ee917527dc609a8162073094192f09f3bac96186fe83792fa50ad5c5c16

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