Skip to main content

deepl grpc server and client

Project description

deepl-grpc

[tests]pythonCode style: blackLicense: MITPyPI version

deepl grpc, server and client, cross platform (Windows/MacOS/Linux)

Installation

  • Install grpc-reflection
    • grpc-reflection cannot be installed using poetry add. Use pip install grpc-reflection instead.
  • Install the rest as usual
pip install deepl-grpc

or

poetry add deepl-grpc

or clone the repo and install from it.

Usage

Interactive

  • [Optional] Start the grpc server
python -m deepl_grpc.deepl_server
  • Start the client
python -m deepl_grpc.deepl_client  # to chinese

# python -m deepl_grpc.deepl_client de  # to german

WebUI

Download grpcui and run, for example in Windows

grpcui.exe -plaintext 127.0.0.1:50051

to explore the server in the same manner as Postman for REST.

More coming soon

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

deepl-grpc-0.1.0.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

deepl_grpc-0.1.0-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

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