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 call_lambda

asyncio.run(call_lambda(lambda_url=os.getenv("lambda_url"), payload={"num":0}, logger=None))

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.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: lambda_rest_client-0.1.0.1.tar.gz
  • Upload date:
  • Size: 3.7 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.1.tar.gz
Algorithm Hash digest
SHA256 d496c327b0e271425b1f239dbd409f6af7796ffd6499ebd4049cf415730b468c
MD5 5bcbce188ae8590b927c60a8c217f18b
BLAKE2b-256 1f7f15dd4b5f2a3133a732cc72fe7878b049af3793b1b6a7618467e11988e82d

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