Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Python Serverless Microframework for AWS
| Date | Stars |
|---|---|
| 2026-07-24 | 11063 |
| 2026-07-25 | 11063 |
| 2026-07-28 | 11063 |
| 2026-07-30 | 11063 |
| 2026-08-06 | 11063 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
===========
AWS Chalice
===========
.. image:: https://img.shields.io/pypi/v/chalice.svg?style=flat
:target: https://pypi.python.org/pypi/chalice/
:alt: Package Version
.. image:: https://img.shields.io/pypi/pyversions/chalice.svg?style=flat
:target: https://pypi.python.org/pypi/chalice/
:alt: Python Versions
.. image:: https://readthedocs.org/projects/chalice/badge/?version=latest
:target: https://aws.github.io/chalice/?badge=latest
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/l/chalice.svg?style=flat
:target: https://github.com/aws/chalice/blob/master/LICENSE
:alt: License
.. image:: https://aws.github.io/chalice/_static/img/chalice-logo-whitespace.png
:target: https://aws.github.io/chalice/
:alt: Chalice Logo
Chalice is a framework for writing serverless apps in Python. It allows
you to quickly create and deploy applications that use AWS Lambda. It provides:
* A command line tool for creating, deploying, and managing your app
* A decorator based API for integrating with Amazon API Gateway, Amazon S3,
Amazon SNS, Amazon SQS, and other AWS services.
* Automatic IAM policy generation
You can create Rest APIs:
.. code-block:: python
from chalice import Chalice
app = Chalice(app_name="helloworld")
@app.route("/")
def index():
return {"hello": "world"}
Tasks that run on a periodic basis:
.. code-block:: python
from chalice import Chalice, Rate
app = Chalice(app_name="helloworld")
# Automatically runs every 5 minutes
@app.schedule(Rate(5, unit=Rate.MINUTES))
def periodic_task(event):
return {"hello": "world"}
You can connect a lambda function to an S3 event:
.. code-block:: python
from chalice import Chalice
app = Chalice(app_name="helloworld")
# Whenever an object is uploaded to "mybucket"
# this lambda function will be invoked.
@app.on_s3_event(bucket="mybucket")
def handler(event):
print(
f"Object uploaded for bucket: {event.bucket}, key: {event.key}"
)
As well as an SQS queue:
.. code-block:: python
from chalice import Chalice
app = Chalice(app_name="helloworld")
# Invoke this lambda function whenever a message
# is sent to the ``my-queue-name`` SQS queue.
@app.on_sqs_message(queue="my-queue-name")
def handler(event):
for record in event:
print(f"Message body: {record.body}")
And several other AWS resources.
Once you've written your code, you just run ``chalice deploy``
and Chalice takes care of deploying your app.
::
$ chalice deploy
...
https://endpoint/api
$ curl https://endpoint/api
{"hello": "world"}
Up and running in less than 30 seconds.
Give this project a try and share your feedback with us here on GitHub.
The documentation is available
`here <https://aws.github.io/chalice/>`__.
Quickstart
==========
.. quick-start-begin
In this tutorial, you'll use the ``chalice`` command line utility
to create and deploy a basic REST API. This quickstart uses Python 3.10,
but AWS Chalice supports all versions of Python supported by AWS Lambda,
which includes Python 3.10 through Python 3.14.
To install Chalice, we'll first create and activate a virtual environment
in python3.10::
$ python3 --version
Python 3.10.20
$ python3 -m venv .venv
$ . .venv/bin/activate
Next we'll install Chalice using ``pip``::
$ python3 -m pip install chalice
You can verify you have chalice installed by running::
$ chalice --help
Usage: chalice [OPTIONS] COMMAND [ARGS]...
...
Credentials
-----------
Before you can deploy an application, be sure you have
credentials configured. If you have previously configured your
machine to run boto3 (the AWS SDK for Python) or the AWS CLI then
you can skip this section.
If this is your first time configuring credentials for AWS you
can follow these steps to quickly get started::
$ mkdir ~/.aws
$ cat >> ~/.aws/Excerpt of 7,411 characters
Read on GitHub1.6k
229
61
21
17
17
Kapil Thangavelu · Stacklet
14
Kumar Aditya Mohta · @eaglepointpartners
9
8
7
7
6
Gábor Lipták
6
6
Art Kay · @parallel-markets · United States
6
6
6
5
5
5
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:d9b883bd0d7a3e88, topic:serverless