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.2.tar.gz
(9.8 kB
view details)
Built Distributions
aio_kong-0.3.2-py3.6.egg
(24.8 kB
view details)
aio_kong-0.3.2-py3-none-any.whl
(10.1 kB
view details)
File details
Details for the file aio-kong-0.3.2.tar.gz
.
File metadata
- Download URL: aio-kong-0.3.2.tar.gz
- Upload date:
- Size: 9.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 | 7f3478d00b8e0b8539bf0375e32910276deace5d9a5e5216f863677d77dd853d |
|
MD5 | 188762497eb0453742ff80cd69b7bf86 |
|
BLAKE2b-256 | 0bea8a1b56b7655cfef7230642ba029f8b2d5b59e0f4a57a90bfb96d05d9fe22 |
Provenance
File details
Details for the file aio_kong-0.3.2-py3.6.egg
.
File metadata
- Download URL: aio_kong-0.3.2-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 | 193fbe134931b22e04104fa2fc2c8228d11f2558dd85d20d4d07413edda29f8b |
|
MD5 | f612993c3f311ff7766d6161b222c273 |
|
BLAKE2b-256 | ea119df93734f9132e931e94c5b79a9750a3ae1ee261b28c94ca948a72d3d3d4 |
Provenance
File details
Details for the file aio_kong-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: aio_kong-0.3.2-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 | 396e3941305732ddddc4e80037179a4093627b844e0c79278b86685f08778cbb |
|
MD5 | 4033be21004269311747b869065e877e |
|
BLAKE2b-256 | 05e31713817f77f7f8eb842a08f5d9f454658ef5155cbaacf7ae6921809187e6 |