Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_viu_api-0.3.10.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_viu_api-0.3.10-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file python_viu_api-0.3.10.tar.gz.

File metadata

  • Download URL: python_viu_api-0.3.10.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for python_viu_api-0.3.10.tar.gz
Algorithm Hash digest
SHA256 ce830ca889ed5e0d141ff06a3b3dff138e73a58b37c454fdeb5a0f0f4a24a0ee
MD5 fc80643d31d17fc5c5753c316f32b511
BLAKE2b-256 36831317fe1f5ca39b89cf554f7541e7d0a5ebee66db8bcbd46e0dfa03199b29

See more details on using hashes here.

File details

Details for the file python_viu_api-0.3.10-py3-none-any.whl.

File metadata

File hashes

Hashes for python_viu_api-0.3.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1fc0088fa91bd97e5509bb7c8371b001a456162176a23403a1ed696b05cf1a10
MD5 7b3b375b61d3ae3a3d842daeb4a5faf4
BLAKE2b-256 bf76e3ae91513d21f9defa4815f6421956e4a69300ac7345cc559fcbe256374a

See more details on using hashes here.

Supported by

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