Skip to main content

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.

Metadata

Release files for lanceviewer 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lanceviewer 0.0.2
File Size Uploaded
lanceviewer-0.0.2.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lanceviewer 0.0.2
File Interpreter ABI Platform
lanceviewer-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / lanceviewer-0.0.2.tar.gz

Download URL lanceviewer-0.0.2.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4e28009ed88a165cb5e850ba573b114ee5467e9f6dc45b5ff7e69a5147afc96f
BLAKE2b-256 checksum
How to use checksums
f3a345cd329eb60b91e63d76781d474bd8568b8dd06d5851ee08fa56f13d0ee6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / lanceviewer-0.0.2-py3-none-any.whl

Download URL lanceviewer-0.0.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b15b8dcb70eb5b05c2b4fcaf9c2fff760da2248d2e6d5eb7dd6ca99746fa63fc
BLAKE2b-256 checksum
How to use checksums
663008e6710a870659c26d918621d8d1cc288daa77a19c48632875bfd8d9b4ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page