Skip to main content

Python client library for ZettaBlock AI Network

Project description

Python client for ZettaBlock AI Network.

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 .

GRPC

The client import zetta-grpc-protos as an external repo, you will need to provide your github username and password to install

# using below command to store and skip the repeatly input username / password
git config credential.helper store

For two phase authentication enabled account, password is private-access-token.

IDE setup

for PyCharm, you will need to run

pip install -e . 

to recognize the GRPC imported library correctly

Run the Client

Try run the client.

zetta --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

Project details


Release history Release notifications | RSS feed

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

zetta-0.0.91-py3-none-any.whl (34.2 kB view details)

Uploaded Python 3

File details

Details for the file zetta-0.0.91-py3-none-any.whl.

File metadata

  • Download URL: zetta-0.0.91-py3-none-any.whl
  • Upload date:
  • Size: 34.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for zetta-0.0.91-py3-none-any.whl
Algorithm Hash digest
SHA256 b80141c8d22a8cf8742f02e424ca43ccfd76e18e81025fd8e62b3ddd6ae62943
MD5 8884eb0641b9e50801962b0cbc9c50ec
BLAKE2b-256 b86a958c2195d5b702b78e974eb599e1f85135a813bdcb9b4f8c1436f1d08f6d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page