A collection of helper for sql connections
Project description
connection-helper
usage
install / update package
pip install connection-helper -U
include in python
from connection_helper import sql, pgp
why use connection-helper
connection-helper
bundles some packages for connecting to sql databases
-
sql
is added as convenience wrapper for retrieving data from sql databasesconnect_sql()
to get get data from['mssql', 'sqlite','postgres']
- 🆕
load_sql_to_sqlite
connect to a sql db and transfer a list of tables tosqlite
- 🆕
load_sqlite_to_parquet()
to get all tables from a sqlite file as parquets - 🆕
unpack_files_to_duckdb()
return a tuple of all files of a dir (csv or parquet) into high performance duckdb objects ⚡ - azure storage connector 🚧
-
pgp
cryptographic tools adapted from python-gnupg. this is a wrapper aroundgnupg
, but only offers some cenvenience or tailored options. feel free to use the original library or the GNU Privacy Guard.encrypt()
a message for one or more recipient(s) with a public keydecrypt()
a message with a private key. Passphrase must be provided via env variablefind_key()
in keyring- ...
💡 These methods require a pgp public/private key in the keyring
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
connection_helper-0.7.2.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for connection_helper-0.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 553225f0c6eb5c14cf78292b0b01728ccf61eaa81751f0a23d25d32796e18dd2 |
|
MD5 | c2a66ea704ff91d4bccb07ff9e0ef775 |
|
BLAKE2b-256 | 8aac77af2d68830c04d90f56b66dd6d6955a2b3bcab5d66e1816cd3bf0086885 |