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.3.tar.gz
(10.0 kB
view details)
Built Distributions
aio_kong-0.3.3-py3.6.egg
(24.8 kB
view details)
aio_kong-0.3.3-py3-none-any.whl
(10.2 kB
view details)
File details
Details for the file aio-kong-0.3.3.tar.gz
.
File metadata
- Download URL: aio-kong-0.3.3.tar.gz
- Upload date:
- Size: 10.0 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 | 66541232f3660000ee511939a460da77db9e4f4519f618e65fe67039c914264a |
|
MD5 | 878818bf0f2edb528bef7bb4577ac4fe |
|
BLAKE2b-256 | db063321b0de53957053276f112364bd54eec0f3d40c6940df9b967daa10aa21 |
Provenance
File details
Details for the file aio_kong-0.3.3-py3.6.egg
.
File metadata
- Download URL: aio_kong-0.3.3-py3.6.egg
- Upload date:
- Size: 24.8 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 | dd4c433e1e5912b34b6e1a760c612d0ccc787b96657b92d10f1f62cabf0cfb3a |
|
MD5 | 0f3cd83c255fb74f908e427ab693f093 |
|
BLAKE2b-256 | 6572bc5b9b9650b3da5c1a8242d21d2acd9881df1596d088ad516e89de6421d7 |
Provenance
File details
Details for the file aio_kong-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: aio_kong-0.3.3-py3-none-any.whl
- Upload date:
- Size: 10.2 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 | dcdc174ceec10fc48a2222d9c2744933cedd336e62a8cb1797657b0d4611530c |
|
MD5 | 135d10c51500d92eb6745e4081fd63b0 |
|
BLAKE2b-256 | a28efdc24674ffbebe982ab327d14928bc1597debb7e863a3207ee2831f46cb6 |