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.8.tar.gz (2.5 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.8-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_viu_api-0.3.8.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

Hashes for python_viu_api-0.3.8.tar.gz
Algorithm Hash digest
SHA256 0c1a89da2d75109377c3bca259eeb91769069a0d2a50f32e8ffab92f6bb16047
MD5 612769f569d84ab52d2091fcd0350937
BLAKE2b-256 58cb5be950070e517576b10d5afbedc2d0cd2a7ef88b470d98ee65de64de32e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_viu_api-0.3.8-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

Hashes for python_viu_api-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b6a0e5a4bc3f2dc0483a77f9f3551387443dd57e907940a9e2df68d3bec1968e
MD5 9721c29561974f8e50f70066dc0b6e44
BLAKE2b-256 cf53df5bcd9aedeb8101a0b94fbfa8ff551646a366a0517042cb41dcc92e7df2

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