semvec/pypi-packages huggingface dataset:
kck-data-source 1.1
This is a collection of tools to ease the use of postgreSQL in Python projects with psycopg2.

This is a collection of tools to ease the use of postgreSQL in Python projects with psycopg2.

Usage:

Import the class DataSource with:

from data_source import DataSource

Then create an instance of the DataSource class, providing a local or external database url:

dataSource = DataSource(DATABASE_URL)

A local DATABASE_URL might look like this:

postgres://<database_user_name>:<database_user_password>@localhost:<port>/<database_name>

Methods: To be defined.