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 Secure Configuration Storage 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.nb_connector.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 class
Secretswill create it. - If password is wrong then
Secretswill 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 method
get()returnsNone. - Saving multiple keys can be chained:
secrets.save("key-1", "A").save("key-2", "B")
Additional Information
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exasol_notebook_connector-2.4.0.tar.gz.
File metadata
- Download URL: exasol_notebook_connector-2.4.0.tar.gz
- Upload date:
- Size: 40.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.0 CPython/3.10.19 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
535dbf0524af32013bce93dc0327ff2fffe2130326312e78657e1e6274741d8c
|
|
| MD5 |
d2f5d115a7bc26e18b0ef7f38e4306fb
|
|
| BLAKE2b-256 |
931adf3d7766d1a7d251ef3a7633cab634aed94d26aeac14d1dbe4a819d25bb9
|
File details
Details for the file exasol_notebook_connector-2.4.0-py3-none-any.whl.
File metadata
- Download URL: exasol_notebook_connector-2.4.0-py3-none-any.whl
- Upload date:
- Size: 60.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.0 CPython/3.10.19 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b1dd434ad553ce8dd173ae8060312383b21622e93e79770102bc58ad6790f20
|
|
| MD5 |
af615fd73b8109cd12df57dc27073bb6
|
|
| BLAKE2b-256 |
034fd172de12a646b78e122b46ede225931864506ac20bd87ca83a7bfd892f4c
|