ants-azure-demos
ants-azure-demos copied to clipboard
Collection of PoCs and Azure Demos
ants-azure-demos
Collection of PoCs and Azure Demos
Apps
Django Web App on App Service
Features
- Azure blob storage for static file
- Django 3 with ASGI
- OpenCensus for monitoring
- Postgres backend
See pycon-django-workshop for a more modern sample
FastAPI + App Insights
A demonstration of FastAPI with App Insights for tracing
- 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
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
FastAPI + Azure Functions
Demonstration of using the ASGI middleware (which got merged upstream into Azure) to support FastAPI on Azure Functions
FastAPI + Azure Web Apps
Demonstration of the steps and configuration for running Uvicorn + FastAPI on Azure App Service (Web Apps)
Flask + Cosmos DB
Very simple demo of a Flask API with PyMongo configured against Cosmos DB (when deployed with the Mongo compatibility API)
PyPy + FastAPI + Azure Container Instances
Demonstration of a custom Python runtime (PyPy) deployed on ACI executing a FastAPI application
Azure Functions Kitchen Sink
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
Quart + Azure Functions
Demonstration of Quart (an async version of Flask) API deployed on Azure Functions