Skip to main content

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.

PyPI Version License PyPI - Python Version Last Commit

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.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 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

exasol_notebook_connector-0.4.0.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

exasol_notebook_connector-0.4.0-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file exasol_notebook_connector-0.4.0.tar.gz.

File metadata

  • Download URL: exasol_notebook_connector-0.4.0.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for exasol_notebook_connector-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a9973bbd13f7688a01571141ec3a35f843bfa2dffb1a403cf38f58a38d59d91c
MD5 0c3788f681c209c7e3a1573f0b5536c1
BLAKE2b-256 a2a0d98efa8a736d7f744e09af4a368b8086ca1996e20db84d152a73d02184f2

See more details on using hashes here.

File details

Details for the file exasol_notebook_connector-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for exasol_notebook_connector-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e5b0ac0d443ac0a8641cfb441f7b26e8a46562b09d75fa9196bd56343b130fa
MD5 3ae2fc361f2fb722bd679232b4f0e6de
BLAKE2b-256 e04b9e521ae63326831f6f14efc67cdacc5e535f483726297c38b1d231875608

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page