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.4-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gokite-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c04799434b2d8b0c7153c53a8eb0fa641c49b83a2e89c669c68e5ab9160dda3a
MD5 43bb41044feb55b088c63b888875bf26
BLAKE2b-256 847f30dccf757a5277442dbf01bf635a701831a67d2537908cbd6116e5a963d8

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