From jostev at bgs.ac.uk Wed Sep 9 10:45:37 2020 From: jostev at bgs.ac.uk (Stevenson, John A.) Date: Wed, 9 Sep 2020 14:45:37 +0000 Subject: [DB-SIG] etlhelper v0.9.2 out now Message-ID: Hi all, ETL Helper v0.9.2 is out now. https://pypi.org/project/etlhelper/ ETL Helper is a library to simplify working with databases by taking care of drivers, connection strings and cursors. It works with PostgreSQL, Oracle, MS SQL and SQLite. I'd be really grateful for any feedback from members of this list. Typical query syntax becomes: ``` from etlhelper import DbParams, get_rows POSTGRESDB = DbParams(dbtype='PG', host="localhost", port=5432, dbname="mydata", user="postgres_user") with POSTGRESDB.connect('PASSWORD_ENVIRONMENT_VARIABLE') as conn: rows = get_rows("SELECT * FROM my_table", conn) ``` Thanks, John This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI. -------------- next part -------------- An HTML attachment was scrubbed... URL: