|
1 | 1 | # Notebook Connector User Guide |
2 | 2 |
|
| 3 | +## Installing the Notebook Connector (NC) |
| 4 | + |
| 5 | +Most of NC's dependencies are declared as "optional" in file `pyproject.toml`. |
| 6 | + |
| 7 | +Here is a comprehensive list of all NC's optional dependency categories (aka. "extras"): |
| 8 | + |
| 9 | +| Package | Description | |
| 10 | +|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 11 | +| `sqlalchemy` | [SQLAlchemy dialect](https://pypi.org/project/sqlalchemy_exasol/) for Exasol databases | |
| 12 | +| `pyexasol` | Python driver for [connecting to Exasol databases](https://pypi.org/project/pyexasol/) | |
| 13 | +| `bucketfs` | [Python API](https://pypi.org/project/exasol-bucketfs/) to interact with Exasol [Bucketfs-Service(s)](https://docs.exasol.com/db/latest/database_concepts/bucketfs/bucketfs.htm) | |
| 14 | +| `docker-db` | For starting a [Docker instance of the Exasol database](https://pypi.org/project/exasol-integration-test-docker-environment/) | |
| 15 | +| `slc` | For [building](https://pypi.org/project/exasol-script-languages-container-tool/) custom [Script Language Containers](https://github.com/exasol/script-languages-release) for [Exasol UDFs](https://docs.exasol.com/db/7.1/database_concepts/udf_scripts.htm) | |
| 16 | +| `ibis` | Portable Python dataframe library [ibis-framework](https://pypi.org/project/ibis-framework/) | |
| 17 | +| `transformers` | An [Exasol extension](https://pypi.org/project/exasol-transformers-extension/) for using state-of-the-art pretrained machine learning models via the [Hugging Face Transformers API](https://github.com/huggingface/transformers) | |
| 18 | +| `sagemaker` | An [Exasol extension](https://pypi.org/project/exasol-sagemaker-extension/) to interact with [AWS SageMaker](https://pypi.org/project/sagemaker/) from inside the database | |
| 19 | + |
| 20 | +You can install selected dependencies using the following syntax |
| 21 | +```shell |
| 22 | +pip install "notebook-connector [slc, docker-db]" |
| 23 | +``` |
| 24 | + |
| 25 | +You can also retrieve a list of all NC's dependency categories with the following command line, see [stackoverflow/64685527](https://stackoverflow.com/questions/64685527/pip-install-with-all-extras): |
| 26 | + |
| 27 | +```shell |
| 28 | +pip install --dry-run --ignore-installed --quiet --report=- \ |
| 29 | + exasol-notebook-connector \ |
| 30 | + | jq --raw-output '.install[0].metadata.provides_extra|join(",")' |
| 31 | +``` |
| 32 | + |
3 | 33 | ## Managing Script Language Containers (SLCs) |
4 | 34 |
|
5 | 35 | The Notebook Connector (NC) supports building different flavors of [Exasol Script Language Containers](https://github.com/exasol/script-languages-release) (SLCs) using the [script-languages-container-tool](https://github.com/exasol/script-languages-container-tool). |
|
0 commit comments