Asynchronous Kong client
Project description
Async Python Client for Kong
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
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
aio-kong-0.2.2.tar.gz
(7.8 kB
view details)
Built Distributions
aio_kong-0.2.2-py3.6.egg
(19.5 kB
view details)
File details
Details for the file aio-kong-0.2.2.tar.gz
.
File metadata
- Download URL: aio-kong-0.2.2.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a05ee5026f5e756610ee03a2dd6eb4a1d07c700b6747e49a4ad5d43c9cc2ec4 |
|
MD5 | ca52eb124d82afcbb230883308f8285f |
|
BLAKE2b-256 | e2ed4a360b478342ac8bcf12c63cd83b1ee410910531ecd989977faafbc4e6d2 |
Provenance
File details
Details for the file aio_kong-0.2.2-py3.6.egg
.
File metadata
- Download URL: aio_kong-0.2.2-py3.6.egg
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32692d89533f1e73d4844aa67ee6de922a6367391e4498989d6d720f3c501677 |
|
MD5 | 6662fa917ede52ae3c2e430fe7fc32b8 |
|
BLAKE2b-256 | bd26fa7c7edbe68c17b1feeefa05b01f4c211055f141a40f181f5616528f26c1 |
Provenance
File details
Details for the file aio_kong-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: aio_kong-0.2.2-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edf154b4bab6329a69ff455bc4af29c8033cb91369c7e68cffe3712bb1463369 |
|
MD5 | bc3da54b4580645f730c7bfc15b701cc |
|
BLAKE2b-256 | 70e6cf7c6f5aac1479e5666e4529ba3d5fcf64c2bb9daf79bea4d859582eab09 |