Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mwisner/python-kong-management
Python API wrapper for kong API gateways.
https://github.com/mwisner/python-kong-management
kong-gateway python
Last synced: 17 days ago
JSON representation
Python API wrapper for kong API gateways.
- Host: GitHub
- URL: https://github.com/mwisner/python-kong-management
- Owner: mwisner
- License: mit
- Archived: true
- Created: 2017-10-25T14:35:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T10:14:51.000Z (over 5 years ago)
- Last Synced: 2024-10-01T22:54:15.113Z (about 1 month ago)
- Topics: kong-gateway, python
- Language: Python
- Size: 44.9 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 14
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
======================
Python Kong Management
======================.. image:: https://img.shields.io/pypi/v/python_kong_management.svg
:target: https://pypi.python.org/pypi/python_kong_management.. image:: https://travis-ci.org/mwisner/python-kong-management.svg?branch=master
:target: https://travis-ci.org/mwisner/python-kong-management.. image:: https://readthedocs.org/projects/python-kong-management/badge/?version=latest
:target: https://python-kong-management.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status.. image:: https://pyup.io/repos/github/mwisner/python-kong-management/shield.svg
:target: https://pyup.io/repos/github/mwisner/python-kong-management/
:alt: UpdatesPython api wrapper for Kong API Gatway
* Free software: MIT license
* Documentation: https://python-kong-management.readthedocs.io.Features
--------* This is very much a work-in-progress. Implemented functionality
Consumers
`````````
* `create`
* `update_or_create`
* `retrieve`
* `list`
* `update`
* `delete`
* `add_key`
* `remove_key`Node
````
* `information`
* `status`Errors
`````````
error_codes = {
'unauthorized': AuthenticationError,
'forbidden': AuthenticationError,
'bad_request': BadRequestError,
'action_forbidden': BadRequestError,
'missing_parameter': BadRequestError,
'parameter_invalid': BadRequestError,
'parameter_not_found': BadRequestError,
'not_found': ResourceNotFound,
'service_unavailable': ServiceUnavailableError,
}
```Testing
---------
```bash
cp .env.example .env
python3 -m venv venv
source venv
eval $(cat .env | sed 's/^/export /')
setup.py pytest
```