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.3.tar.gz
(8.8 kB
view details)
Built Distributions
aio_kong-0.2.3-py3.6.egg
(22.5 kB
view details)
File details
Details for the file aio-kong-0.2.3.tar.gz
.
File metadata
- Download URL: aio-kong-0.2.3.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff44cd8a0880fd18bdff3fc66a5e0aab10ae156d0466faf484da1d6baf1eb8f2 |
|
MD5 | 0b134fedb996df7dd46d12277d837209 |
|
BLAKE2b-256 | 9f6dde3100627b9573ea81e15d0519a954bdaa1f764cab68a2924c8da75eb850 |
Provenance
File details
Details for the file aio_kong-0.2.3-py3.6.egg
.
File metadata
- Download URL: aio_kong-0.2.3-py3.6.egg
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4327888d861acb0e0b6de6290e422047cf41c07cc06d2a59a1c453591398a7f5 |
|
MD5 | 1873437f45cf119aada3dc4e43c86e9b |
|
BLAKE2b-256 | eb0233d02b6659899d4e669eec71e920b1689f36980780050b96b1fcd5f7ce90 |
Provenance
File details
Details for the file aio_kong-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: aio_kong-0.2.3-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49a257f26be510359f198ffcae189deb7d3880fe490e438114f8b52bd0c4ca6b |
|
MD5 | f6dc970e1401b9b0b39ac86b1f4d14e3 |
|
BLAKE2b-256 | 313b4926a7da301399a182832ac7b0a51051583367d478a07dd417584f031f4e |