Skip to main content

dbsliceAI connector

Make a dataset on your computer available in dbsliceAI.

The connector reads only the dataset directory you select and makes an outbound connection to dbsliceAI. You do not need to open an inbound port or run a public file server, and local file paths are not shared with dbsliceAI clients.

Install

The connector requires Python 3.11 or newer. Install it from PyPI:

python3 -m pip install dbslice-ai-connector

Connect this computer

Pair the connector with your dbsliceAI account. Use the service URL supplied by your dbsliceAI provider. For example:

dbslice-ai-connector pair --server-url https://app.ai.dbslice.org

The command opens a secure page in your browser. Sign in and select Connect device. If the browser is on another computer, add --no-open-browser and open the printed URL there.

Pairing is required only once on each computer.

Download the sample dataset

To try the connector with the dbsliceAI sample dataset:

dbslice-ai-connector download-sample --destination ~/datasets

The connector downloads the sample, verifies it and prints its full path and the command to use next. It will not replace an existing copy.

Connect the downloaded dataset in exactly the same way as any other dataset:

dbslice-ai-connector run \
  --dataset ~/datasets/dbslice-ai-sample-data-1.0.0

Leave the connector running while you use the dataset in dbsliceAI. Stop it with Ctrl-C.

Connect your own dataset

Supply the directory containing the dataset's config/config.json file:

dbslice-ai-connector run --dataset /absolute/path/to/dataset

The dataset title is read from its configuration. The connector automatically reconnects after temporary network interruptions.

The complete directory format is described in the dbsliceAI dataset specification.

Troubleshooting

If a Python.org installation on macOS reports CERTIFICATE_VERIFY_FAILED, run the Install Certificates.command supplied with that Python installation, then try again. Do not disable certificate verification.

Use dbslice-ai-connector --help or dbslice-ai-connector <command> --help to see all available options.

The connector stores its paired identity privately on the computer. Do not include credentials, pairing codes or private dataset contents in bug reports.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbslice_ai_connector-0.2.0.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

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

dbslice_ai_connector-0.2.0-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file dbslice_ai_connector-0.2.0.tar.gz.

File metadata

  • Download URL: dbslice_ai_connector-0.2.0.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.0

File hashes

Hashes for dbslice_ai_connector-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e48d7d689e9a0a7cd79576ede8cdb83da814986b505daff76908e46f86142feb
MD5 f9a606eecd7eed06d2961793afaaeab3
BLAKE2b-256 76c8e8ce6b3fdb529584ef8d7f92f366ada2f7ef60427152bc6258194b608c3a

See more details on using hashes here.

File details

Details for the file dbslice_ai_connector-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dbslice_ai_connector-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60c1ac3edbfce1685e45649b58a36233e36d83c8696fec16b5fc6301f5ad0f92
MD5 e1bda56a233fe28ae3575535b7da7a33
BLAKE2b-256 1d939ef7987819df9892ba49b4365b4cf3b2ea7c2ecb5ab52926f6ed1edc9760

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 Sentry Error logging StatusPage Status page