Components, tools, APIs, and configurations in order to connect Jupyter notebooks to Exasol and various other systems.
Project description
Exasol Notebook Connector
Connection configuration management and additional tools for Jupyter notebook applications provided by Exasol company.
Features
Exasol Notebook Connector (ENC) currently contains a Secret Store that can be used in Jupyter notebook applications to store arbitrary credentials and configuration items, such as user names, passwords, URLs, etc.
By that users of such notebook applications
- need to enter their credentials and configuration items only once
- can store them in a secure, encrypted, and persistent file based on SQLite and coleifer/sqlcipher3
- can use these credentials and configuration items in their notebook applications
Usage
from pathlib import Path
from exasol.secret_store import Secrets
file = "password_db.sqlite"
secrets = Secrets(Path(file), "my secret password")
key = "my key"
secrets.save(key, "my value")
value = secrets.get(key)
Constraints and Special Situations
- If file does not exist then SecretStore will create it.
- If password is wrong then SecretStore will throw an exception.
- If file contains key from a session in the past then method
secrets.save()
will overwrite the value for this key. - If key is not contained in file then SecretStore returns
None
. - Saving multiple keys can be chained:
secrets.save("key-1", "A").save("key-2", "B")
Project details
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 exasol_notebook_connector-0.2.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4715b05716f86473ad6ee57a3895e5ffb57827386e275e9fd33a1713bbcb48c8 |
|
MD5 | 4221eb79ae2ff2c09236f06a707f2997 |
|
BLAKE2b-256 | 92eb4e44386d37be54bd97eafad5251a42f9e18c5bb76d6bdb64880e52614b06 |
Close
Hashes for exasol_notebook_connector-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50758a11c2763d370f29c4b8962fd08aa7f195cb389bedb0a2499ea05730a64c |
|
MD5 | 1f14bab1de07b1ca96b73f1f24928a55 |
|
BLAKE2b-256 | 0fdb9d75cc42821e649bb399a74d4bf14d44d335dd46035a7b2411bc9e68196f |