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.46.tar.gz (16.3 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.46-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kong_sdk-0.0.46.tar.gz
  • Upload date:
  • Size: 16.3 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.46.tar.gz
Algorithm Hash digest
SHA256 c4c4c8761c71e51db649060d89e8a2a0f4727dcc9f10ccc8011058a2e635abf8
MD5 e458f72c1c127329ae86bf4b53a11aed
BLAKE2b-256 6b691be5224fa9d1d99744139c4cbebcfb29dc6e0e7999fed8c90c8b67863e54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kong_sdk-0.0.46-py3-none-any.whl
  • Upload date:
  • Size: 27.3 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.46-py3-none-any.whl
Algorithm Hash digest
SHA256 3d4e846808edb1b104433fc398588b1c53edcd0c5630d25f3e829050c344dad6
MD5 1f76c68222ad024b7d0bb88bb87a9ca7
BLAKE2b-256 ebd67b42f7fe67f63833399b443aa7dc6179069f9d205598860b3a75385fb406

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