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.4.tar.gz
(9.5 kB
view details)
Built Distributions
aio_kong-0.2.4-py3.6.egg
(22.7 kB
view details)
File details
Details for the file aio-kong-0.2.4.tar.gz
.
File metadata
- Download URL: aio-kong-0.2.4.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0c8c76997e379bdbaa8c11575c5b34126e98ab18648cd6765f0dfc9c465d18f |
|
MD5 | b904b941ad47fe8884cbe550d545aa28 |
|
BLAKE2b-256 | 13eb118d94fcdaa64323832706373f1fb3091dcf82bde74199de6aa4219730f3 |
Provenance
File details
Details for the file aio_kong-0.2.4-py3.6.egg
.
File metadata
- Download URL: aio_kong-0.2.4-py3.6.egg
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3c65028b5134f407fd8d2bc7f577445e847c2df1880a6de58f9ff90bc468550 |
|
MD5 | b0ced65be9eb178d6a6d2772edbcddfd |
|
BLAKE2b-256 | 5f9106526d9300e10a57358fba84cab76cc03cc87f6e2f6277f2354389d3a37b |
Provenance
File details
Details for the file aio_kong-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: aio_kong-0.2.4-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b2b3bd876f15256a350663c2f67c0710fd2607b5170c3fcf069035917e9278e |
|
MD5 | 4d3e4814415bcda39a92af848f75cdcc |
|
BLAKE2b-256 | d15f77ccbd0815c969cf2d4b75bdd6ee4d5e4e8698c6ac3ffdecf1736d8b275e |