Run Thrift server and client on serverless functions
Project description
Thrift serverless library for Python
This package provides an implementation of a Thrift client and server over serverless functions for Python
Installation
From your project directory:
pip install serverless-thrift
Getting started (AWS Lambda)
Simply use the createLambdaServer
function to wrap your Thrift handler:
from serverless_thrift.server.TLambdaServer import TLambdaServer
from calulator_handler import CalculatorHandler
handler = CalculatorHandler()
processor = Calculator.Processor(handler)
server = TLambdaServer(processor)
A full example is located under the example directory
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
Built Distribution
Close
Hashes for serverless_thrift-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f570f7870ce455edb8a43ed2b5694c18e9116b80594754311dcabf66440373ed |
|
MD5 | 7ba5fe7cdf0720523076399550a64922 |
|
BLAKE2b-256 | 66d4efcef38a31ebc695e97a74d7cc95481dd3d51b6cd1a4cb9ef4a40e413104 |