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
Metadata
Release files for exasol-notebook-connector 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| exasol_notebook_connector-3.1.0.tar.gz | 643.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| exasol_notebook_connector-3.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / exasol_notebook_connector-3.1.0.tar.gz
| Download URL | exasol_notebook_connector-3.1.0.tar.gz |
|---|---|
| Size | 643.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df32f9efb03a5e1129c4707676256e4b4fe2995b071cc9705e27b9dad6d7517b
|
|
BLAKE2b-256 checksum How to use checksums |
ac159326cf11b39ebc62ce1faa355304e6e85e6b2ec3f6426a5d30ae562080f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.11.17 Linux/6.17.0-1022-azure
|
Release files / exasol_notebook_connector-3.1.0-py3-none-any.whl
| Download URL | exasol_notebook_connector-3.1.0-py3-none-any.whl |
|---|---|
| Size | 733.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
727a55381b2e87c01bcaa95f2eb169e35ca75f25fd69afe6ea1fdc5e03f17e28
|
|
BLAKE2b-256 checksum How to use checksums |
a8c740cd38e582b06c431f51e0d0a3bddee41bac31fe7d1445bd022da598537f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.11.17 Linux/6.17.0-1022-azure
|