Skip to content

Instantly share code, notes, and snippets.

View kahemker's full-sized avatar

Kyle Hemker kahemker

  • 09:07 (UTC -04:00)
View GitHub Profile
#!/usr/bin/python
# Get Duke Energy electricity usage information. Needs lxml and requests. Supply info in envvars
import os
import json
import re
import datetime
import requests
import lxml.etree
@stanorama
stanorama / iis_streamlit.md
Last active September 21, 2025 11:46
IIS Reverse Proxy and Windows Authentication for Streamlit

IIS Reverse Proxy and Windows Authentication for Streamlit

Introduction

Setting up a reverse proxy on IIS (Internet Information Services) allows us to take advantage of windows authentication.

This means we can limit access to a streamlit app to a specific Active Directory group, Local group or list of Active Directory users.

(I haven't tested https support yet).