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']
- 🆕
unpack_sqlite_to_parquet()
to get all tables from a sqlite file as parquets - 🆕
unpack_files_to_duckdb()
to get 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
Built Distribution
Close
Hashes for connection_helper-0.6.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eff0ff678b821a928c69534eeb643898a0f7a089701ef06a984300136828c55 |
|
MD5 | 0ea9f19fdcd96b59988f1159907fdd4d |
|
BLAKE2b-256 | cf7c8d8890f7b732926951b53155220e6a6a9d581b8a697823ce4b37f6cdf47b |