Serverless SDK for Python
Project description
serverless-sdk
Serverless Console SDK for Python
Use case
Environment agnostic Serverless Console instrumentation functions for Python applications.
This library is safe to use without side-effects in any Python application. It becomes effective once (one of the listed below) environment specific SDK is loaded on top.
Environment extensions
- AWS Lambda - serverless-aws-lambda-sdk
Installation
pip install serverless-sdk
Usage
from serverless_sdk import serverlessSdk
print(serverlessSdk.name)
Setup
1. Register with Serverless Console
2. Initialize and setup SDK specific to your enviroment
2.1 Configuration options
Common options supported by all environments:
SLS_ORG_ID
(or options.orgId
)
Required setting. Id of your organization in Serverless Console.
Instrumentation
This package comes with instrumentation for following areas.
Note: instrumentation is enabled via environment specific SDK instance, relying just on serverless-sdk
doesn't enable any instrumentation)
- N/A
API
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
serverless-sdk-0.1.3.tar.gz
(10.0 kB
view hashes)
Built Distribution
Close
Hashes for serverless_sdk-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c47200305e2da360e12544aa375b711dee82e4302f7a11afe1a64809bf8fc2d |
|
MD5 | c9a43bc765ce62f3b5fbad405e8550f7 |
|
BLAKE2b-256 | 9c480b95d54c90cebeed2cae4b5d5d6df32f550150fe694a5ad92a5f4afb9bc6 |