Skip to main content

A python package that works to provide service registration and discovery for

Project description

Python library to interact with other microservices at


You can get it from

$ pip install microhackaton-service-discovery-py


from service_discovery import ServiceDiscovery

sd = ServiceDiscovery('/pl/pl/microhackaton', '')

How to register your service?

instance_id = sd.register('something-collector', '', 8080)

How to find instances of other service?

urls_as_list = sd.get_instances('blog-collector')

How to find random service instance?

url_as_str = sd.get_instance('blog-collector')

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

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