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.41.tar.gz (13.7 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.41-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kong_sdk-0.0.41.tar.gz
Algorithm Hash digest
SHA256 28998aec70c62e548a93885bb6f5f196e35e669a26f0eb2ce3f701bf58c9826d
MD5 ffabfc626fb01ce34773171364695b39
BLAKE2b-256 a03253d87adc77e38d45f59b10f3a6e82348375fb7886fef84cfac9f073439d5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kong_sdk-0.0.41-py3-none-any.whl
Algorithm Hash digest
SHA256 c6326df1412946e5d26ec6be0619906dff0eec1f43e1eb8d16a266162bf7518e
MD5 8eac766624358ad3b98f63090e38f5c9
BLAKE2b-256 83b5fd78b4945163e93a1dee97810590814866173130e31e87ed37ffe84c2703

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