I actually have this code working. How can I contribute it back to this useful project? I am only an intermediate programmer so I'd welcome improvements.
Also my code is only aimed at non-technical home users. I didn't look into adding network types for enterprise. So it's not for everyone.
I changed the signal level regex so that the 'db' now is signal level, and not "Quality level," and also there was a bug in this regex, at least on a Raspberry Pi. If it does not work for all devices perhaps two regex should be provided; but I noticed no 'db' on the Readme.md so I gather it's a bug for every device. I found the "Signal level" from iwlist (what you labelled 'db') to be relevant and "Quality level" to not be relevant at all. So I fixed the regex bug and made it the only selection, ignoring Quality. If I am mistaken please let me know.
iwlist.py.txt