Pre-release
This release is a pre-release and may not be stable for production use.
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/04_data_changed_signal.py
@table.events.data.connect
def _on_data_change(info):
"""data-changed callback"""
# Connect selection changed signal
# See examples/05_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. |
Release files for tabulous 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tabulous-0.1.0a1.tar.gz | 42.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tabulous-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.0 kB
Release files / tabulous-0.1.0a1.tar.gz
| Download URL | tabulous-0.1.0a1.tar.gz |
|---|---|
| Size | 42.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad92e1cb3b09871c2dcec79d7e2ba534151db8532818eecb042c1c21aa547b4c
|
|
BLAKE2b-256 checksum How to use checksums |
8ece9a64d50b2dbfd7011101204d1eedf20d07ee2fc120a1e36b209be7f1f72e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / tabulous-0.1.0a1-py3-none-any.whl
| Download URL | tabulous-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 55.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9630bf31f35b001339cf2a56ff41e08ed995ab03a5c1e37598cab35c5bcc55e1
|
|
BLAKE2b-256 checksum How to use checksums |
85ad668a9eed2039665eac4f455bc53c3f83a642179bb75075ad93bf1dd5c0db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|