Skip to main content

Asynchronous Kong client

Project description

Async Python Client for Kong

CircleCI

codecov

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


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.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distributions

aio_kong-0.2.1-py3.6.egg (19.7 kB view details)

Uploaded Source

aio_kong-0.2.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file aio-kong-0.2.1.tar.gz.

File metadata

  • Download URL: aio-kong-0.2.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aio-kong-0.2.1.tar.gz
Algorithm Hash digest
SHA256 04085cac99cd5901a4c28d4672645e99ac8e6bdff9e75c4b441cc7d2cbe0fc9c
MD5 963c138dc710fe658979c5c9f0b885bd
BLAKE2b-256 d749fd4a479309191b50e342799d124a914babea56c643fc754c843d2cbd6b58

See more details on using hashes here.

Provenance

File details

Details for the file aio_kong-0.2.1-py3.6.egg.

File metadata

  • Download URL: aio_kong-0.2.1-py3.6.egg
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aio_kong-0.2.1-py3.6.egg
Algorithm Hash digest
SHA256 1b88900edb08efeb3614473b64b931b27b0fb639cfa499f8d982d008c532fae6
MD5 d25eb74462b4472a8ad4eb4e98b1e092
BLAKE2b-256 46fd3dea5dc6aebcf79fc39e7bd479282b2f499edda477dde81d6b2bef733c98

See more details on using hashes here.

Provenance

File details

Details for the file aio_kong-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aio_kong-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac7a54f1d90f50360721af12ec8f0f54dc5f07b58dc22b13194241b4ffa8c944
MD5 15d4d26e5943fc3c54be53e0b48cd1fb
BLAKE2b-256 5d326c357f3a863201fe424ca8d9cb65400bac3eb5bb482451a13381d3383070

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page