AWS Compute Blog

Tag: Python

Hosting Hugging Face models on AWS Lambda for serverless inference

This post written by Eddie Pick, AWS Senior Solutions Architect – Startups and Scott Perry, AWS Senior Specialist Solutions Architect – AI/ML Hugging Face Transformers is a popular open-source project that provides pre-trained, natural language processing (NLP) models for a wide variety of use cases. Customers with minimal machine learning experience can use pre-trained models […]

An Adafruit PyPortal displaying the latest images from the Mars Curiosity Rover and weather data from InSight Mars Lander.

Build a serverless Martian weather display with CircuitPython and AWS Lambda

Build a standalone digital weather display of Mars showing the latest images from the Mars Curiosity Rover. This project uses an Adafruit PyPortal, an open-source IoT touch display. Traditionally, a microcontroller is programmed with firmware compiled using various specific toolchains. Fortunately, the PyPortal is programmed using CircuitPython, a lightweight version of Python that works on […]

cloudwatch-insights-service-map-view

Building well-architected serverless applications: Understanding application health – part 2

This series of blog posts uses the AWS Well-Architected Tool with the Serverless Lens to help customers build and operate applications using best practices. In each post, I address the nine serverless-specific questions identified by the Serverless Lens along with the recommended best practices. See the Introduction post for a table of contents and explaining the example application. Question OPS1: How […]

cross-service-metrics-dashboard

Building well-architected serverless applications: Understanding application health – part 1

This series of blog posts uses the AWS Well-Architected Tool with the Serverless Lens to help customers build and operate applications using best practices. In each post, I address the nine serverless-specific questions identified by the Serverless Lens along with the recommended best practices. See the Introduction post for a table of contents and explaining […]

Generating REST APIs from data classes in Python

This post is courtesy of Robert Enyedi – Senior Research Engineer – AI Labs Implementing and managing public APIs is greatly simplified by API Gateway. Among the various features of API Gateway, the ability to import API definitions in the Open API format is powerful. In this post, I show how you can automatically generate REST […]

Continued support for Python 2.7 on AWS Lambda

UPDATE – Oct 20, 2020 – We’re extending the support of Python 2.7 in AWS Lambda until at least June 1, 2021. Additionally, Boto3/Botocore SDK for Python 2.7 will also be supported till this date. Although you will continue to get critical security updates on Python 2.7 runtime and the SDK for the extended support […]

Python 3.8 runtime now available in AWS Lambda

You can now develop your AWS Lambda functions using the Python 3.8 runtime. Start using this runtime today by specifying a runtime parameter value of python3.8 when creating or updating Lambda functions. New Python runtime features Python 3.8 is a stable release and brings several new features, including assignment expressions, positional-only arguments, and vectorcall. Assignment […]

Python 3.7 runtime now available in AWS Lambda

This post is courtesy of Shivansh Singh, Partner Solutions Architect – AWS We are excited to announce that you can now develop your AWS Lambda functions using the Python 3.7 runtime. Start using this new version today by specifying a runtime parameter value of “python3.7″ when creating or updating functions. AWS continues to support creating new […]