bi_etl.utility.postgresql.psycopg2_helpers module
- bi_etl.utility.postgresql.psycopg2_helpers.get_conn(dbname, username, password, encoding='UTF-8')[source]
- bi_etl.utility.postgresql.psycopg2_helpers.get_cursor(dbname, username, password, encoding='UTF-8')[source]
- bi_etl.utility.postgresql.psycopg2_helpers.psycopg2_extract_using_engine(engine: Engine, table_or_query: str, output_file_path: str | Path, delimiter: str = '|', csv_mode: bool = True, header: bool = True, null: str = '', encoding='UTF-8')[source]
- bi_etl.utility.postgresql.psycopg2_helpers.psycopg2_import_using_cursor(cursor, table_spec: str, input_file_path: str | Path, block_size: int = 4096, delimiter: str = '|', csv_mode: bool = True, header: bool = True, null: str = '', encoding='UTF-8')[source]