Python client for ZettaBlock AI Network.
# Development
## Setup
### Install locally
1. Clone the repository.
2. Create a virtual environment and install the package.
```bash
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
```bash
# 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
```bash
pip install -e .
```
to recognize the GRPC imported library correctly
### Run the Client
Try run the client.
```sh
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
Raw data
{
"_id": null,
"home_page": null,
"name": "zetta",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "zettablock, client, cloud, AI, blockchain, infrastructure",
"author": "ZettaBlock Labs",
"author_email": "support@zettablock.com",
"download_url": null,
"platform": null,
"description": "Python client for ZettaBlock AI Network.\n\n\n# Development\n## Setup\n### Install locally\n1. Clone the repository.\n2. Create a virtual environment and install the package.\n```bash\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -e .\n```\n### GRPC\nThe client import zetta-grpc-protos as an external repo, you will need to provide your github username and password to install\n```bash\n# using below command to store and skip the repeatly input username / password\ngit config credential.helper store\n```\nFor two phase authentication enabled account, password is private-access-token.\n\n### IDE setup\nfor PyCharm, you will need to run \n```bash\npip install -e . \n```\nto recognize the GRPC imported library correctly\n\n### Run the Client\nTry run the client.\n```sh\nzetta --help\n```\n\n## CICD\n1. 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\n2. make sure some tests are added in the folder, cicd will run checks and test automatically\n3. if all tests passes, the version will be automatically boost and submit a newer version to PyPi\n4. If you want to include the comment in CHANGELOG.md, in Pull request, add ##Changelog in the comment\n",
"bugtrack_url": null,
"license": null,
"summary": "Python client library for ZettaBlock AI Network",
"version": "0.0.104",
"project_urls": {
"Homepage": "https://zettablock.com",
"Source": "https://github.com/Zettablock/zetta-py-client"
},
"split_keywords": [
"zettablock",
" client",
" cloud",
" ai",
" blockchain",
" infrastructure"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c306d51e7662de1c74f1aba272d0bf7ede477fe5522de91f3a86d346da283759",
"md5": "da1d2e6b4bc96bcee6f224e84c57e6ea",
"sha256": "bd8564d6f410a8f3a966af7565a1031c3e5e98824aa2cab32d8f0bb2ec7d33df"
},
"downloads": -1,
"filename": "zetta-0.0.104-py3-none-any.whl",
"has_sig": false,
"md5_digest": "da1d2e6b4bc96bcee6f224e84c57e6ea",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 39075,
"upload_time": "2024-12-13T18:29:50",
"upload_time_iso_8601": "2024-12-13T18:29:50.141261Z",
"url": "https://files.pythonhosted.org/packages/c3/06/d51e7662de1c74f1aba272d0bf7ede477fe5522de91f3a86d346da283759/zetta-0.0.104-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-13 18:29:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Zettablock",
"github_project": "zetta-py-client",
"github_not_found": true,
"lcname": "zetta"
}