This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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.' |