https://gpttutorpro.com/securing-python-applications-against-sql-injection-attacks/
Securing Python Applications Against SQL Injection Attacks