One .py file. Only one dependency (urllib3).n with a little love the concept could become a full transparent proxy.