AWS Developer Tools Blog

Category: Python

Asynchronous Amazon Transcribe Streaming SDK for Python (Preview)

We are pleased to announce the first preview release of an asynchronous Amazon Transcribe streaming SDK for Python. Amazon Transcribe streaming transcription enables you to send an audio stream and receive a stream of text in real time. This initial preview release of the SDK provides simple and easy to use interfaces for the Amazon […]

AWS Chalice now supports Amazon Kinesis and Amazon DynamoDB Streams

Version 1.21.0 of AWS Chalice, a framework for creating serverless applications in Python, adds support for two new event sources in AWS Lambda. You can now configure a Lambda function to be automatically invoked whenever a record is added to an Amazon Kinesis stream or whenever an Amazon DynamoDB table is updated. Chalice automatically handles […]

Following serverless best practices with AWS Chalice and Lambda Powertools

AWS Chalice lets you quickly create serverless applications in Python. It has a number of built-in features such as integration with AWS Lambda event sources as well as support for different deployment systems such as AWS SAM and Terraform. There are scenarios where you may want to extend the behavior of Chalice and customize how […]

Automatically deploy a Serverless REST API from GitHub with AWS Chalice

AWS Chalice lets you quickly create serverless applications in Python. When you first start using Chalice, you can use the chalice deploy command to deploy your application to AWS without any additional setup or configuration needed other than AWS credentials. As your application grows and you add additional team members to your project, you’ll want […]

Using AWS Lambda Layers with AWS Chalice

AWS Chalice is a framework for writing serverless applications in Python that provides familiar, declarative APIs to help you write your application. From the first version of this framework, we’ve provided a deployment packager that handles the details of how to package your application for AWS Lambda. This lets you specify third-party package dependencies using […]

Introducing the AWS Chalice test client

The latest release of AWS Chalice, v1.17.0, now includes a test client that enables you to write tests for your Chalice applications using a concise and simplified API. The test client handles all the boilerplate setup and teardown logic that you’d previously have to write yourself when testing your Chalice applications. This new test client […]

Configuring custom domain names with AWS Chalice

Version 1.16.0 of AWS Chalice, a framework for writing serverless applications in Python, adds support for custom domain names when creating REST and WebSocket APIs. In this post, we’ll show how to associate your own domain name with a REST API we create. When deploying REST APIs with Chalice, Amazon API Gateway automatically generates the […]

AWS Chalice Now Supports YAML Templates

Version 1.15.0 of AWS Chalice, a framework for writing serverless applications in Python, adds support for YAML when generating and merging AWS Serverless Application Model (SAM) templates. This allows you to add additional AWS resources to your Chalice application. As part of deploying a Chalice application, you can generate a SAM template that represents your […]

Orchestrating an application process with AWS Batch using AWS CDK

In many real work applications, you can use custom Docker images with AWS Batch and AWS Cloud Development Kit(CDK) to execute complex jobs efficiently. AWS CDK is an open source software development framework to model and provision your cloud application resources using familiar programming languages, including TypeScript, JavaScript, Python, C# and Java. For the solution […]

Handling arbitrary HTTP requests in Amazon API Gateway

In this post, I walk you through the steps to build a serverless web application that can accept arbitrary HTTP requests and use custom logic to return arbitrary responses. The concepts in this post are applicable to any situation where you require flexible control over the HTTP requests received and returned by an application that uses […]