Skip to main content

View your data frames in a browser

Project description

Tablescope

A lightweight tool for viewing DataFrames in your browser using Tabulator.js. Supports any DataFrame types that are compatible with Narwhals, including pandas and Polars.

Features

  • Interactive table view of your DataFrame
  • Full-text search across all columns
  • Column-specific filters
  • Column sorting and reordering
  • Cell editing (double-click to edit)
  • Export to CSV or JSON

Installation

pip install tablescope

Usage

Here's a simple example using a Polars DataFrame:

import polars as pl
from tablescope import show

df = pl.DataFrame({
    'name': ['Alice', 'Bob', 'Charlie'],
    'age': [25, 30, 35],
    'city': ['New York', 'London', 'Paris']
})

# Open the table in your browser
show(df)

Development

To set up the development environment:

  1. Clone the repository
  2. Install development dependencies:
rye sync
  1. Download Tabulator.js files:
  2. Download the required Tabulator.js files:
wget https://unpkg.com/tabulator-tables@6.3.1/dist/js/tabulator.min.js -O static/tabulator.min.js
wget https://unpkg.com/tabulator-tables@6.3.1/dist/css/tabulator.min.css -O static/tabulator.min.css

License

MIT License

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

tablescope-0.1.4.tar.gz (109.5 kB view details)

Uploaded Source

Built Distribution

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

tablescope-0.1.4-py3-none-any.whl (111.0 kB view details)

Uploaded Python 3

File details

Details for the file tablescope-0.1.4.tar.gz.

File metadata

  • Download URL: tablescope-0.1.4.tar.gz
  • Upload date:
  • Size: 109.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for tablescope-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6bce8dc11dfbc5a935b3075c94e3f3efb80cd68a6705a2b214b5a0d3b1a7b83b
MD5 3d0113fc3dfc7919ababd3eba1245f3e
BLAKE2b-256 361f13528e7b8fe1b64176c9ea1b474febae86939ce0d49d0dd6c4c1de59f8d3

See more details on using hashes here.

File details

Details for the file tablescope-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: tablescope-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 111.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.1

File hashes

Hashes for tablescope-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bc6bd704456174dd3bf5b354dc86c4e388adc6a51d971e029a52818c692dd709
MD5 c6e1cd36f48b6941081678363769c9cc
BLAKE2b-256 b41b5ea5ad194e21f03252fe9cae54d71c554ecfaf0ecf207f2b776562cf5e4c

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