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.3.1.tar.gz
(9.9 kB
view details)
Built Distributions
aio_kong-0.3.1-py3.6.egg
(24.4 kB
view details)
aio_kong-0.3.1-py3-none-any.whl
(10.1 kB
view details)
File details
Details for the file aio-kong-0.3.1.tar.gz
.
File metadata
- Download URL: aio-kong-0.3.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28bca029bdd266388838464c70cef517038ffa9b5d69d0ea7f330c151891682f |
|
MD5 | 12b50911d489c4ff162fb0e6c475d043 |
|
BLAKE2b-256 | e8abd2d9e22940b91a59ead701d2924e9b05cf412288739fafff2bb468d50367 |
Provenance
File details
Details for the file aio_kong-0.3.1-py3.6.egg
.
File metadata
- Download URL: aio_kong-0.3.1-py3.6.egg
- Upload date:
- Size: 24.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efec45912369adafe62e0bd078b6dfebe601abc98712bfe9efabaea05812b156 |
|
MD5 | c25186191156d5e7b074e3c0a26db2cd |
|
BLAKE2b-256 | 50c835aa2fd8cdc39023d9da7196f91001f8ac9a227ca6d47cbcae24b594665f |
Provenance
File details
Details for the file aio_kong-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: aio_kong-0.3.1-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49e131b617d65f77e0a23702c43c497461ca67406093bca081912eaff4265fdb |
|
MD5 | 998bbab4afc802d18ebc2784f20a5267 |
|
BLAKE2b-256 | 0fd6eafc20f1a356bdafdeda073b48935531bb00ae958efbe8f4ca7c489aa7e7 |