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

Uploaded Python 3

File details

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

File metadata

  • Download URL: zetta-0.0.94-py3-none-any.whl
  • Upload date:
  • Size: 34.7 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.94-py3-none-any.whl
Algorithm Hash digest
SHA256 418c4d26fabb5c2fbfc43833d7827676ceaf96bfbc1829163bd59dd3419a3f39
MD5 1c9d4894a34a82938b7ed9333ad5a61d
BLAKE2b-256 7ce36bf58ef81b2d6ad4a9f78874f43880f3fc17e34733f39306fabd456ead1e

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