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.44.tar.gz (13.8 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.44-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kong_sdk-0.0.44.tar.gz
Algorithm Hash digest
SHA256 8afd4051c498cb9399d04042b03459350f3eabf8668c0a2a03ca3d094563f784
MD5 2524b6b12bd12bb4b1848a936e706ab3
BLAKE2b-256 0084b07ddec44beec7e5ae47687d9b03dd06ed1cbeb9fedd017a707d3a04fb82

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kong_sdk-0.0.44-py3-none-any.whl
Algorithm Hash digest
SHA256 69b42d04f25ff887916d6a9db1c03485db5f7d0e1ec438a522d0745e74a83a4c
MD5 6f3fca8a078a1eae0ea20045609baf06
BLAKE2b-256 7e93678ce884eab3765ebd9cb145daa1f0f3faf43f0c5e25488a487efc1c26b9

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