Pysql configuration and library with personal querys