A package that provides type hints for AWS Lambda event, context and response objects
Project description
AWS Lambda Typing
A package that provides type hints for AWS Lambda event, context and response objects. It's a convenient way to get autocomplete and type hints built into IDEs. Type annotations are not checked at runtime but are only enforced by third party tools such as type checkers, IDEs, linters, etc.
Usage
AWS SQS message event example
import aws_lambda_typing as lambda_typing
def handler(event: lambda_typing.SQSEvent, context: lambda_typing.Context) -> None:
for record in event['Records']:
print(context.get_remaining_time_in_millis())
print(record['body'])
Demo
IDE autocomplete
IDE code reference information
Hit counter
License
The MIT License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws-lambda-typing-0.0.7.tar.gz.
File metadata
- Download URL: aws-lambda-typing-0.0.7.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af9a2dc1ddc2f77f918256490bfdf61bf2ce92e638738120a534f8df215afff7
|
|
| MD5 |
3cfd67dd877752c5e7f7045bca602708
|
|
| BLAKE2b-256 |
aaa3c05bb5c69c2e31b5fa80a1ae9dde92376fe873ba5dfc3cf4936955cf9c3b
|
File details
Details for the file aws_lambda_typing-0.0.7-py3-none-any.whl.
File metadata
- Download URL: aws_lambda_typing-0.0.7-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf270184d16faf4999653b821f10aaeb56ad17aad8d740e81d8d0a57080ad604
|
|
| MD5 |
20452309764153ea625668f2b16d3709
|
|
| BLAKE2b-256 |
4849240d6bbc7a26fc16ebe9d642ae19bb0f79319e4a26bdbb62db7ea45f0f96
|