Generating QR Codes with Wi-Fi Information using Python
pip install segno
import segno
wifi_settings = {
ssid='(Wifi Name)',
password='(Wifi Password)',
security='WPA',
}
wifi = segno.helpers.make_wifi(**wifi_settings)
wifi.save(Wifi.png, dark=yellow, light=#323524, scale=8)
Reference: https://mp.weixin.qq.com/s/34lQ4vxtc5KBUIADFfz3Ow