Skip to content

Instantly share code, notes, and snippets.

View dotlambda's full-sized avatar
😡
This is GitHub, not a f*****g social network!

Robert Schütz dotlambda

😡
This is GitHub, not a f*****g social network!
  • UC Berkeley
  • Berkeley, CA
View GitHub Profile
#! /usr/bin/env nix-shell
#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ setuptools ])"
from urllib.request import urlopen
import subprocess
import json
import re
from pkg_resources import Requirement, RequirementParseError
PREFIX = '# homeassistant.components.'