Python library for databases