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
Release history Release notifications | RSS feed
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.42.tar.gz
(13.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
kong_sdk-0.0.42-py3-none-any.whl
(22.2 kB
view details)
File details
Details for the file kong_sdk-0.0.42.tar.gz.
File metadata
- Download URL: kong_sdk-0.0.42.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-37-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
885f25bee8ede31a4265d31bc3f41a2f37c23485d65c98e465ee2c1c8722f3d7
|
|
| MD5 |
ce83ca6c21a0b2f6b9da3cb8ab7ebeb2
|
|
| BLAKE2b-256 |
f86640b287c336d8b9a30c956d43631fc7d33df50ea9ed4df61395cdbb2d5f59
|
File details
Details for the file kong_sdk-0.0.42-py3-none-any.whl.
File metadata
- Download URL: kong_sdk-0.0.42-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-37-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2de4ff9eaaa5d3322415543759f9a3f490b74d7398b7e9bc8e70e619f6bd144
|
|
| MD5 |
4aa6795ca3032434d7c3d2bb865512c3
|
|
| BLAKE2b-256 |
4f71c5014af5f2f1cb5119d9dc4b69f830e74f3c8ae72842bce0b7460d0b9473
|