Skip to main content

gRPC Poetry plugin

Project description

Poetry gRPC plugin

A Poetry plugin to run the Protocol Buffers compiler with gRPC support.

Installing the plugin

Requires Poetry version 1.2.0a2 or above

poetry plugin add poetry-grpc-plugin

Usage

To run it manually:

poetry help protoc

Usage:
  protoc [options]

Options:
      --proto_path[=PROTO_PATH]             [default: "."]
      --python_out[=PYTHON_OUT]             [default: "."]
      --grpc_python_out[=GRPC_PYTHON_OUT]   [default: "."]
...

Run on poetry update

[tool.poetry-grpc-plugin]

Additional config

[tool.poetry-grpc-plugin]
proto_path = "dir/protos"
python_out = "generated/"
grpc_python_out = "generated/"

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

poetry-grpc-plugin-0.1.1.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

poetry_grpc_plugin-0.1.1-py3-none-any.whl (4.3 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