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.49.tar.gz (16.9 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.49-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kong_sdk-0.0.49.tar.gz
  • Upload date:
  • Size: 16.9 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.49.tar.gz
Algorithm Hash digest
SHA256 b2cde2cc4ca029563f80db3780b1add52601209b5c2a4ba294d3dc0bc63519b2
MD5 e9b551f0bfa6f49ea9eff677addae7a8
BLAKE2b-256 11022e7b7b184f26e06bcb934c3fa938eae937dd7bc4e64b2e6ab75747544ca6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kong_sdk-0.0.49-py3-none-any.whl
  • Upload date:
  • Size: 28.0 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.49-py3-none-any.whl
Algorithm Hash digest
SHA256 8d96097ae303c7df6588ba0f8abb7bf0160fd27116552e65b5f48a8303d84e2c
MD5 3cbf75e76a9add5e787b8c4ad000bf56
BLAKE2b-256 8defaeff2a54c266e373cc35a3363d860da5917ecf56d2691bd3693915ba57cd

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