Skip to main content

No project description provided

Project description

LanceViewer

View your lance datasets as interactive dataframes. Screenshot 2023-09-11 at 5 39 36 PM

Installation

pip install lanceviewer

Usage

Once installed, simply launch the app using lanceviewer command

lanceviewer

There are additional settings you can pass that are applied golabally.

Multi-Modal data support [WIP]

You can visualize multimodal data stored as bytes in the lance dataset. Currently Image bytes are handled with support for more types coming soon

Transforms for MultiModal data

You need to write configuration maps to handle the columns that contain multi-modal bytes they won't be rendered in the browser There are 2 configs written to handle img columns:

  • MJ: This configuration assumes that the "img" column contains the image bytes as ["extension", "bytes"]
  • Default: This configuration assumes that the "img" column contains image bytes as the top level, i.e, ["bytes"]

NOTE: Currently, MJ is the default golbal setting

Changing configuration settings

  • To view the global settings
lanceviewer settings

Changing Default Transformation

  • To set the a different column configuration, you can just pass --transforms {NAME}. The settings are persisted in a global settings file so next time you don't to pass it again

Working with Local Lance Datasets

  • Simply pass the path of the of the lance dataset as the URI.
  • And then pass the SQL query. Loading dataset and running queries locally are almost real-time.

Working with remote buckets

GCS

When working with remote gcs bucket data, you need to make sure the dataset uri you're passing is accessible to you. If not already set up, please follow ADC as described in [https://cloud.google.com/docs/authentication/external/set-up-adc]

Note: Loading the querying speed depends directly on bandwidth.

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

lanceviewer-0.0.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

lanceviewer-0.0.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file lanceviewer-0.0.2.tar.gz.

File metadata

  • Download URL: lanceviewer-0.0.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for lanceviewer-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4e28009ed88a165cb5e850ba573b114ee5467e9f6dc45b5ff7e69a5147afc96f
MD5 b31f2322920ed4adba065bc933649746
BLAKE2b-256 f3a345cd329eb60b91e63d76781d474bd8568b8dd06d5851ee08fa56f13d0ee6

See more details on using hashes here.

File details

Details for the file lanceviewer-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: lanceviewer-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for lanceviewer-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b15b8dcb70eb5b05c2b4fcaf9c2fff760da2248d2e6d5eb7dd6ca99746fa63fc
MD5 c4eb3f3fc8d6192b681c1b876f016b2c
BLAKE2b-256 663008e6710a870659c26d918621d8d1cc288daa77a19c48632875bfd8d9b4ee

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