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.

Source Distribution

serverless-discovery-sdk-0.0.5.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

serverless_discovery_sdk-0.0.5-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file serverless-discovery-sdk-0.0.5.tar.gz.

File metadata

  • Download URL: serverless-discovery-sdk-0.0.5.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for serverless-discovery-sdk-0.0.5.tar.gz
Algorithm Hash digest
SHA256 edd7493bd8cfa1e84327932d7417946a0c4990f2f320a513acb132fbd66e4afa
MD5 2906ff37dc6462c81e973ede236441b2
BLAKE2b-256 b0a491d267ed4abb50a45994482a5657729a0b48a4e571d1208dba4152031c33

See more details on using hashes here.

File details

Details for the file serverless_discovery_sdk-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: serverless_discovery_sdk-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for serverless_discovery_sdk-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 97ce8329514b3fb92662ffd16248baf4ce56ae88749d0bc8f12b9e144f66d20d
MD5 5be6afc872a83da4177e7d070edf3589
BLAKE2b-256 a87d92351e195c8cac974794a4859e808d9e948de045307d1edfabb743caa691

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page