Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tonybaloney/ants-azure-demos

Collection of PoCs and Azure Demos
https://github.com/tonybaloney/ants-azure-demos

Last synced: 30 days ago
JSON representation

Collection of PoCs and Azure Demos

Awesome Lists containing this project

README

        

# ants-azure-demos

Collection of PoCs and Azure Demos

## Apps

### Django Web App on App Service

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/django-web-app)

Features

- Azure blob storage for static file
- Django 3 with ASGI
- OpenCensus for monitoring
- Postgres backend

See [pycon-django-workshop](https://github.com/tonybaloney/pycon-django-workshop) for a more modern sample

### FastAPI + App Insights

A demonstration of FastAPI with App Insights for tracing

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/fastapi-app-insights)

- Devcontainer
- OpenTelemetry exporter for FastAPI to trace events
- Custom exception handler for OpenTelemetry
- Tortoise ORM

### FastAPI + Beanie ODM + Cosmos

A demonstration of Beanie ODM for FastAPI using Cosmos DB as the datastore

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/fastapi-cosmos-beanie)

Features

- E2E pagination
- API for getting, listing and adding addresses
- Seed API for creating test data using mimesis
- GEO JSON field example for geographic data
- Startup.sh file for Azure App Service

### FastAPI + Cosmos

Minimal example for using the Cosmos Python SDK for CRUD operations on a Cosmos Database with a FastAPI frontend

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/fastapi-cosmos)

### FastAPI + Azure Functions

Demonstration of using the ASGI middleware (which got merged upstream into Azure) to support FastAPI on Azure Functions

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/fastapi-functions)

### FastAPI + Azure Web Apps

Demonstration of the steps and configuration for running Uvicorn + FastAPI on Azure App Service (Web Apps)

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/fastapi-web-app)

### Flask + Cosmos DB

Very simple demo of a Flask API with PyMongo configured against Cosmos DB (when deployed with the Mongo compatibility API)

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/flask-cosmos)

### PyPy + FastAPI + Azure Container Instances

Demonstration of a custom Python runtime (PyPy) deployed on ACI executing a FastAPI application

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/pypy-fastapi-container-instance)

### Azure Functions Kitchen Sink

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/python-functions)

It will:

- Listen for new uploads to an Azure Storage Account blob matching *.xlsx
- Import the data from a function
- Load up pandas to perform some processing and cleanup
- Merge the data with a public postcode database
- Add lat and lon data to the postcodes
- Convert the columns into Azure Table Storage sanitized property names
- Upload the records to Azure Table Storage

### Async Azure Quantum Problem Solver

A demonstration of the new async API for Azure Quantum

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/quantum-demos)

### Quart + Azure Functions

Demonstration of Quart (an async version of Flask) API deployed on Azure Functions

[link](https://github.com/tonybaloney/ants-azure-demos/tree/master/quart-functions)