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.0.tar.gz
(7.7 kB
view details)
Built Distributions
aio_kong-0.2.0-py3.6.egg
(19.7 kB
view details)
File details
Details for the file aio-kong-0.2.0.tar.gz
.
File metadata
- Download URL: aio-kong-0.2.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec716d2af056c0d7d4f108735134917b33f58e8075275a06279a22c409c41f9d |
|
MD5 | 9238c90ca95e4229415ee3906485ed42 |
|
BLAKE2b-256 | e58f08828dc3154f8205c99e3a2e63f3c1118d96d98f420dd85d44e3e9b3174b |
Provenance
File details
Details for the file aio_kong-0.2.0-py3.6.egg
.
File metadata
- Download URL: aio_kong-0.2.0-py3.6.egg
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3f6e472da5415a64c6b84f87073bc31b11c6d8e11805ca81f61a1d2b5b1ba5a |
|
MD5 | c0905f5775d6e05125156f3f5b3c1ca4 |
|
BLAKE2b-256 | effc3998ab31a912ad4f9e571a88ec6e80ac8a952210e704c72f03aac8457a26 |
Provenance
File details
Details for the file aio_kong-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: aio_kong-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90607e50ed8403abfdc75b7ec2a8d85c5fb0cd5c528702cab23b3a3eb0e0730c |
|
MD5 | 8f12a967e8410ca129e0b4f01502c5ab |
|
BLAKE2b-256 | 473e661cb44c03fcdfac5383acb7a9b65520beb563377eb4a9f4d8f8fa5d17e0 |