Skip to content

Commit ac0aba9

Browse files
committed
docs: add blog post, and quick example
Signed-off-by: heitorlessa <[email protected]>
1 parent 705371e commit ac0aba9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: docs/content/index.mdx

+12
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,27 @@ title: Homepage
33
description: AWS Lambda Powertools Python
44
---
55

6+
import Note from "../src/components/Note"
7+
68
Powertools is a suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier.
79

10+
<Note type="info">
11+
<strong>Looking for a quick run through of the core utilities?</strong><br/><br/>
12+
Check out <a href="https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-lambda-powertools/">this detailed blog post</a> with a practical example.
13+
</Note><br/>
14+
815
## Install
916

1017
Powertools is available in PyPi. You can use your favourite dependency management tool to install it
1118

1219
* [poetry](https://python-poetry.org/): `poetry add aws-lambda-powertools`
1320
* [pip](https://pip.pypa.io/en/latest/index.html): `pip install aws-lambda-powertools`
1421

22+
**Quick hello world example using SAM CLI**
23+
```bash:title=hello_world.sh
24+
sam init --location https://github.com/aws-samples/cookiecutter-aws-sam-python
25+
```
26+
1527
## Features
1628

1729
* [Tracing](./core/tracer) - Decorators and utilities to trace Lambda function handlers, and both synchronous and asynchronous functions

0 commit comments

Comments
 (0)