Skip to main content

A simple client for calling Lambda REST endpoints

Project description

Lambda-REST-Client

A simple Python client for calling AWS Lambda REST endpoints asynchronously using aiohttp.

Installation

You can install the package from PyPI:

pip install Lambda-REST-Client

Usage

from lambda_rest_client import LambdaClient

client = LambdaClient(endpoint="https://your-lambda-endpoint.com")

# Example async call
import asyncio

async def main():
    response = await client.call(payload={"key": "value"})
    print(response)

asyncio.run(main())

Requirements

  • Python 3.8+
  • aiohappyeyeballs==2.6.1
  • aiohttp==3.13.2
  • aiosignal==1.4.0
  • attrs==25.4.0
  • frozenlist==1.8.0
  • idna==3.11
  • multidict==6.7.0
  • propcache==0.4.1
  • yarl==1.22.0

License

3-Clause BSD NON-AI License See LICENSE for details.

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

lambda_rest_client-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file lambda_rest_client-0.1.0.tar.gz.

File metadata

  • Download URL: lambda_rest_client-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for lambda_rest_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5cd55538a2c0cf2181d3f3dc9dcf0c02c8b94a19c2d063e491cb9b9dfcd808f4
MD5 bc10937b3078d25bb2d3131e69795ae9
BLAKE2b-256 06286e788c473144525ae1308d30540866469b44eb9e77471c90e851147161a7

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