gRPC client for VIU API
Project description
your_grpc_client
This package provides a gRPC client for ApiService using BetterProto.
Installation
pip install your_grpc_client
Usage Example
import asyncio from generated.viuapi import ApiServiceStub, text
async def main(): client = ApiServiceStub("your.api.endpoint:443") request = text(text="Your text here") # Adjust based on method params response = await client.embed_n_v_embed_v2(request) print(response)
asyncio.run(main())
Available Methods
- embed_n_v_embed_v2(text) -> EmbedNVEmbedV2Response
- embed_b_g_e_gemma2(text) -> EmbedBGEGemma2Response
Generated automatically from .proto files using GitHub Actions.
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_viu_api-0.3.9.tar.gz.
File metadata
- Download URL: python_viu_api-0.3.9.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
995698609e0b58465a231807f215b2ea78314f2120f5ac63cd9e2db2b5072fb0
|
|
| MD5 |
c34017bc7cee45aaac47cc4a4a31d799
|
|
| BLAKE2b-256 |
354a98321cb25bc2df78372a62c239dd49e37a6635abdea106f632ce1747ce73
|
File details
Details for the file python_viu_api-0.3.9-py3-none-any.whl.
File metadata
- Download URL: python_viu_api-0.3.9-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5dfa750470ee300113ddfcf7dcca67f242e48017bd5796e8a1187ea0d58d7dc3
|
|
| MD5 |
7e6cde0719dd1f89dbcb4cea5d208b81
|
|
| BLAKE2b-256 |
0e2245ca5643c9892bb303d38216e82a98e7a374049fa214effa0e4363c10843
|