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 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 Secrets will create it.
  • If password is wrong then Secrets 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 method get() returns None.
  • Saving multiple keys can be chained: secrets.save("key-1", "A").save("key-2", "B")

Additional Information

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-2.5.0.tar.gz (46.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exasol_notebook_connector-2.5.0-py3-none-any.whl (70.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: exasol_notebook_connector-2.5.0.tar.gz
  • Upload date:
  • Size: 46.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.0 CPython/3.10.19 Linux/6.14.0-1017-azure

File hashes

Hashes for exasol_notebook_connector-2.5.0.tar.gz
Algorithm Hash digest
SHA256 917872d561cd6fd0647beec0c1dd739cc7339bc818d7089870a35037b6053b92
MD5 14278551f5e584d6419681c4d8dd744e
BLAKE2b-256 618307f477eaa1cf782354be467d673879d86fc650b6864424a7ee95ef392ec8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for exasol_notebook_connector-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 275c359165d810272f6365e09d766ece0706e58e86680e31380d22a1ac236510
MD5 69baa2525d9b019c62107410fd60a3f6
BLAKE2b-256 6801efd2c148fb4ba05b788a8cfa66e988414b53b8e3149beed54b129d2c3377

See more details on using hashes here.

Supported by

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