Skip to main content

Kong Python SDK

Project description

kong-sdk-python

Generating python code for gRPC service

cd ./packages/kong-sdk-python
poetry run python -m grpc_tools.protoc --proto_path=./src/kong/proto --python_out=./src/kong/proto --grpc_python_out=./src/kong/proto ./src/kong/proto/service.proto

Change import to from kong.proto import service_pb2 as service__pb2

Packaging and publishing SDK

Update SDK version in pyproject.toml:

[tool.poetry]
name = "kong-sdk"
version = <version>
npx nx install kong-sdk-python
npx nx build kong-sdk-python
npx nx publish kong-sdk-python --token=pypi-token

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

kong_sdk-0.0.39.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

kong_sdk-0.0.39-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file kong_sdk-0.0.39.tar.gz.

File metadata

  • Download URL: kong_sdk-0.0.39.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.12.3 Linux/6.14.0-35-generic

File hashes

Hashes for kong_sdk-0.0.39.tar.gz
Algorithm Hash digest
SHA256 13575ca232956e31dcf65aa6e3858711b98dc6fbbfe931dade8ba9784589f152
MD5 f1a68783c8ce8e7bb7aa4759df81452d
BLAKE2b-256 81c347c16706c0db45ecf3725c114388e1479412edd6de787abadda98e315dc9

See more details on using hashes here.

File details

Details for the file kong_sdk-0.0.39-py3-none-any.whl.

File metadata

  • Download URL: kong_sdk-0.0.39-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.12.3 Linux/6.14.0-35-generic

File hashes

Hashes for kong_sdk-0.0.39-py3-none-any.whl
Algorithm Hash digest
SHA256 a98ba69fa4b419f09c82362189625435a05a1a9cd94b80135e04f01de0e87dc6
MD5 f075bba3cdac10c2de40a2eb5615ceb4
BLAKE2b-256 baaa688381d79fe1c2c787d9866aba661501832636b43304b496db99a595e5e4

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