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.5.tar.gz
(9.6 kB
view details)
Built Distributions
aio_kong-0.2.5-py3.6.egg
(23.1 kB
view details)
File details
Details for the file aio-kong-0.2.5.tar.gz
.
File metadata
- Download URL: aio-kong-0.2.5.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbf75058df7131ce4c8f2ad76bca5402715dceba5cfbb2da946f3f19d66eb903 |
|
MD5 | ba2c0ac3c548cdf5e2dbef59e04b2094 |
|
BLAKE2b-256 | 0a2684c67aabf8479beabae28debdfe10c79a62485e8827a7b9f6a16344a8a3c |
Provenance
File details
Details for the file aio_kong-0.2.5-py3.6.egg
.
File metadata
- Download URL: aio_kong-0.2.5-py3.6.egg
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 086ce3f699f5b986ffb021511737080fec7adcb079acb8c74c3bd3bae6f5f1ff |
|
MD5 | fd1675691e278c521628009bdcd93239 |
|
BLAKE2b-256 | 0f48e78f9360aebfb7af7ec52e5b18cf7166e6428fbf9df7eb074af7ed4748ad |
Provenance
File details
Details for the file aio_kong-0.2.5-py3-none-any.whl
.
File metadata
- Download URL: aio_kong-0.2.5-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bf747a6b768878c6524340eebc8281ca19d5930f370e611d6080825cbb30225 |
|
MD5 | 3e2e69409e86e949fe027b63d09f77b4 |
|
BLAKE2b-256 | 8af56445d815811a6d38ceac5df3d2bc8c0b0d783add413644beeb7c4b3b2916 |