etlhelper is a Python ETL library to simplify data transfer into and out of databases.
ETL Helper makes it easy to run SQL queries via Python and return the results. It takes care of cursor management, importing drivers and formatting connection strings, while providing memory-efficient functions to read, write and transform data. This reduces the amount of boilerplate code required to manipulate data within relational databases with Python.
ETL Helper is available on PyPI.
pip install etlhelper
Database driver packages are not included by default and should be specified in square brackets.
Options are oracle
(installs oracledb), mssql
(installs pyodbc) and postgres
(installs psycopg2).
Multiple values can be separated by commas.
pip install etlhelper[oracle,postgres]
See the individual database driver configuration pages for any OS-level dependencies.
ETL Helper was created by and is maintained by British Geological Survey Informatics.
See CONTRIBUTING.md for details on how to contribute.
ETL Helper is distributed under the LGPL v3.0 licence. Copyright: © BGS / UKRI 2019