Skip to main content

Serverless Service Discovery SDK

Project description

serverless-discovery-sdk-python

The last serverless micro-service you'll ever wonder how to find

The AWS Serverless Discovery SDK interacts with a discovery microservice to discover endpoints for micro-services written for a serverless architecture. This is similar to clustered services such as Consul or ZooKeeper, but without the concept of instances or nodes that must be monitored for online state. This library is designed to support use both on the server side (for service-to-service lookups) and on the browser/client side.

This project contains the Python bindings for the discovery service; Other bindings can be found in the AdAstraDev organization on GitHub

Installation

python3 -m pip install serverless-discovery-sdk

Usage

Python

from serverless_discovery_sdk import DiscoverySdk
sdk = DiscoverySdk('https://abcdefghij.execute-api.us-east-1.amazonaws.com/prod')
endpoints = sdk.lookupService('my-service', 'dev')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for serverless-discovery-sdk, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size serverless_discovery_sdk-0.0.5-py3-none-any.whl (3.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size serverless-discovery-sdk-0.0.5.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page