Python client for ZettaBlock AI Network.
Development
Setup
Install locally
- Clone the repository.
- 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
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
- 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
- make sure some tests are added in the folder, cicd will run checks and test automatically
- if all tests passes, the version will be automatically boost and submit a newer version to PyPi
- If you want to include the comment in CHANGELOG.md, in Pull request, add ##Changelog in the comment