Skip to main content

python client for discovery a registry for resilient mid-tier load balancing and failover.

Project description

# discovery-client

[![PyPI version](](

python client for discovery only support python3.

### Install

pip install python-discovery-client

### Usage

from discovery import config_from_env, Client

# register instance
client = Client(config_from_env('')) # use you discovery domain
client.register('your app name', [''])

# watch instance
def watch_callback(instances):
print('instance change: %s', instances)'your app name', watch_callback)


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

python-discovery-client-0.5.tar.gz (4.9 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page