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.47.tar.gz (16.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.47-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kong_sdk-0.0.47.tar.gz
  • Upload date:
  • Size: 16.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.47.tar.gz
Algorithm Hash digest
SHA256 77eaebae1d1f6187775b528bb64fbda9a2881a2977488d962eaa26fa9471c00a
MD5 edcbcb3496305de09e37ccf38471c567
BLAKE2b-256 f38100a630b5fe1d9e422b8efcb5a26799a0e0f7bbe63c6b676b8c78089e09b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kong_sdk-0.0.47-py3-none-any.whl
  • Upload date:
  • Size: 27.9 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.47-py3-none-any.whl
Algorithm Hash digest
SHA256 c7b861ef5ad51e2fe39616c3153a3e06ab9203a32bb4a3b995df16239e17f35b
MD5 f0b5a403ab7963d6215add38c6be2d10
BLAKE2b-256 fc6c372a22938b972e59460d8004af44279afb2642b2dfed07fa618a1039b8a5

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