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.40.tar.gz (13.7 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.40-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kong_sdk-0.0.40.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.12.3 Linux/6.14.0-36-generic

File hashes

Hashes for kong_sdk-0.0.40.tar.gz
Algorithm Hash digest
SHA256 2c98c63fb77ee2e1e7e781857b2e0c3a8a79c8246fe2133b853bdc8a6b53a374
MD5 3dfae5eec1139b4f1be740ffbebdcb5b
BLAKE2b-256 78d4e40116b26f3b429a1e2567ab43bc5e5c57f82d1bb260616972429ba8cf11

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for kong_sdk-0.0.40-py3-none-any.whl
Algorithm Hash digest
SHA256 4a7714fa67a8277fc7377507789ba4428e5e6ba2e3af475ed01291e5bce74c7e
MD5 bb78bf82e1da452441d7366c89d5f0cd
BLAKE2b-256 cc01af16e4030fa39cbfb9afcd1840c292ea609461c380d1c46ced490099dbf6

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