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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for serverless-discovery-sdk-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | edd7493bd8cfa1e84327932d7417946a0c4990f2f320a513acb132fbd66e4afa |
|
MD5 | 2906ff37dc6462c81e973ede236441b2 |
|
BLAKE2b-256 | b0a491d267ed4abb50a45994482a5657729a0b48a4e571d1208dba4152031c33 |
Hashes for serverless_discovery_sdk-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97ce8329514b3fb92662ffd16248baf4ce56ae88749d0bc8f12b9e144f66d20d |
|
MD5 | 5be6afc872a83da4177e7d070edf3589 |
|
BLAKE2b-256 | a87d92351e195c8cac974794a4859e808d9e948de045307d1edfabb743caa691 |