Skip to content

tonybaloney/ants-azure-demos

Repository files navigation

ants-azure-demos

Collection of PoCs and Azure Demos

Apps

Django Web App on App Service

link

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

link

  • 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

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

FastAPI + Azure Functions

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

link

FastAPI + Azure Web Apps

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

link

Flask + Cosmos DB

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

link

PyPy + FastAPI + Azure Container Instances

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

link

Azure Functions Kitchen Sink

link

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

Quart + Azure Functions

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

link

About

Collection of PoCs and Azure Demos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published