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.45.tar.gz (17.4 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.45-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kong_sdk-0.0.45.tar.gz
  • Upload date:
  • Size: 17.4 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.45.tar.gz
Algorithm Hash digest
SHA256 52b0adc1240b3f78838a6bbd22850633a1726e62fd6bf5574be8761319ab2a25
MD5 8dc172a608312a9d0d9be8ac78e68e5f
BLAKE2b-256 28bf344defac265dfadf727bcdd276a5fddcdfbe30c4e671cd274fec0a6f3b4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kong_sdk-0.0.45-py3-none-any.whl
  • Upload date:
  • Size: 28.5 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.45-py3-none-any.whl
Algorithm Hash digest
SHA256 3858c17385e8e359890f0a018b1b327d8abd9000fb433450621b636bef61b1fb
MD5 c8d2ca528bc386428e6c1d70dc2cc009
BLAKE2b-256 a770eb57acbea2cbc0b5fa3f35d16df574ad37e65536ebea5caeb6d37b7a000a

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