Skip to main content

A table data viewer for Python

Project description

Downloads PyPI version

tabulous

A table data viewer for Python.

from tabulous import open_sample

viewer = open_sample("iris")

tabulous is highly inspired by napari in its design and API.

Installation

pip install tabulous

How it works.

df = pd.read_csv("data.csv")
viewer.add_table(df)  # add table data to viewer
viewer.tables  # table list
table = viewer.tables[0]  # get table
table.data  # get pd.DataFrame object (or other similar one)

# Connect data changed signal
# See examples/03-0_data_changed_signal.py
@table.events.data.connect
def _on_data_change(info):
    """data-changed callback"""

# Connect selection changed signal
# See examples/03-1_selection_changed.py
@table.events.selections.connect
def _on_selection_change(selections):
    """selection-changed callback"""

Supported table types

Table SpreadSheet
A dtype-tagged table view with fixed size, aimed at viewing and editing pd.DataFrame. This table is the most basic one. A string based table editor. Table is converted into pd.DataFrame object with proper dtypes consistent with reading CSV file using pd.read_csv.
GroupBy TableDisplay
A table group that corresponds to the returned object of the groupby method of pd.DataFrame. A table viewer that hotly reloads data using provided loader function. Useful for streaming data from other softwares.

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

tabulous-0.1.0a2.tar.gz (45.5 kB view details)

Uploaded Source

Built Distribution

tabulous-0.1.0a2-py3-none-any.whl (59.9 kB view details)

Uploaded Python 3

File details

Details for the file tabulous-0.1.0a2.tar.gz.

File metadata

  • Download URL: tabulous-0.1.0a2.tar.gz
  • Upload date:
  • Size: 45.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.7

File hashes

Hashes for tabulous-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 daf43f6da79de6865c9cad955633cbe71262e1b12c780c7d361dfb69fefd3119
MD5 9ecf10d4a4eec9540adf9d437cefafbf
BLAKE2b-256 df1ecf424d5e6e86e90847845bb0bd1a62c1cf54d3daad0f79c2fadbeb52f512

See more details on using hashes here.

File details

Details for the file tabulous-0.1.0a2-py3-none-any.whl.

File metadata

  • Download URL: tabulous-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 59.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.9.7

File hashes

Hashes for tabulous-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 c95ec97666b8e0613baefc53477d898a1f967c50e7b4c99d1e31e3a6581c242a
MD5 21d8f938c9c4919bf172df8380d60300
BLAKE2b-256 8cd64c07fe7cd9c4f27aee667c05addac41bb5a4c7074b85b7fb50d9e242e0d7

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