Skip to main content

A python library for the Kong admin API

Project description

Python - Kong Client

This is a Python library for the Kong admin API.

It was build around kong 1.14.x specifications



pip install python-kongclient


  1. Clone the repository git clone
  2. Enter it cd python-kongclient
  3. Install it python install


Import into your project

from kongclient import KongClient

Create a kong client

kong_client = KongClient(kong_url='https://localhost:8444', verify_ssl=True)'httpbin', url='')'httpbin', name='route', hosts=[''])

For Python-Flask

from flask import Flask
from kongclient.flask import KongClient

app = Flask(__name__)
app.config['KONG_ADMIN_URL'] = 'https://localhost:8444'
app.config['KONG_ADMIN_VERIFY_SSL'] = True
kong_client = KongClient(app)

@app.route('/services', methods=['GET])
def get_services():

For more details, checkout kong documentation

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

python-kongclient-1.1.1.tar.gz (10.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page