An open API service indexing awesome lists of open source software.

https://github.com/amenezes/discovery-client

Async Python client for Consul
https://github.com/amenezes/discovery-client

asyncio consul python python-consul python-consul2 service-discovery

Last synced: 5 months ago
JSON representation

Async Python client for Consul

Awesome Lists containing this project

README

        

[![ci](https://github.com/amenezes/discovery-client/workflows/ci/badge.svg)](https://github.com/amenezes/discovery-client/actions)
[![codecov](https://codecov.io/gh/amenezes/discovery-client/branch/master/graph/badge.svg)](https://codecov.io/gh/amenezes/discovery-client)
[![PyPI version](https://badge.fury.io/py/discovery-client.svg)](https://badge.fury.io/py/discovery-client)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/discovery-client)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

# discovery-client

Async Python client for [consul](https://consul.io).

HTTP engine options available:

- aiohttp `default`;
- httpx.

## Using

Install and update using pip:

### default client

````bash
pip install -U discovery-client
````

### httpx client

````bash
pip install -U 'discovery-client[httpx]'
````

## Links

- License: [Apache License](https://choosealicense.com/licenses/apache-2.0/)
- Code: [https://github.com/amenezes/discovery-client](https://github.com/amenezes/discovery-client)
- Issue tracker: [https://github.com/amenezes/discovery-client/issues](https://github.com/amenezes/discovery-client/issues)
- Docs: [https://discovery-client.amenezes.net](https://discovery-client.amenezes.net)