Collection of PoCs and Azure Demos
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
A demonstration of FastAPI with App Insights for tracing
- Devcontainer
- OpenTelemetry exporter for FastAPI to trace events
- Custom exception handler for OpenTelemetry
- Tortoise ORM
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
Minimal example for using the Cosmos Python SDK for CRUD operations on a Cosmos Database with a FastAPI frontend
Demonstration of using the ASGI middleware (which got merged upstream into Azure) to support FastAPI on Azure Functions
Demonstration of the steps and configuration for running Uvicorn + FastAPI on Azure App Service (Web Apps)
Very simple demo of a Flask API with PyMongo configured against Cosmos DB (when deployed with the Mongo compatibility API)
Demonstration of a custom Python runtime (PyPy) deployed on ACI executing a FastAPI application
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
A demonstration of the new async API for Azure Quantum
Demonstration of Quart (an async version of Flask) API deployed on Azure Functions