Skip to main content

Asynchronous Kong client

Project description

Async Python Client for Kong

CircleCI

codecov

Installation & Testing

To install the package

pip install aio-kong

To run tests, clone and

./dev/install.sh
pytest --cov

Client

The client can be imported via

from kong.client import Kong

In a coroutine::

async with Kong() as cli:
    services = await cli.services.get_list()
    print(json.dumps(services, indent=4))

Command line tool

The library install the kong command line tool for uploading kong configuration files.

kong --yaml config.yaml

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

aio-kong-0.2.1.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distributions

aio_kong-0.2.1-py3.6.egg (19.7 kB view hashes)

Uploaded Source

aio_kong-0.2.1-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

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