Minimalistic dashboard app for visualizing tabular data
Project description
Tabloo
Minimalistic dashboard app for visualizing tabular data -- WIP.
Installation
pip install tabloo
Usage
Embedded mode
Run tabloo from within Python on an instance of a Pandas DataFrame:
# given a pandas dataframe `df`
import tabloo
tabloo.show(df)
CLI mode
Run tabloo from the command line on a CSV file:
tabloo_cli my.csv
Bring our own backend
Tabloo decouples the visualization frontend from the data backend. You could drive the frontend by arbitrary data backends, i.e., instead of running from DataFrames, you may implement a backend accessing other data sources like databases. This implies that backends can be implemented in any other language. Currently the backend API is still under development and may change. For now, the flask backend can serve as a reference implementation.
Usage notes
Currently the "Filter" input element accepts DataFrame.query()
expressions.
It handles expressions like:
# filter by specific values
SomeColumn == "some value"
# standard inequality operations are supported
SomeNumberColumn > 0
# it's possible to use advanced string conditions via `.str`
SomeStringColumn.str.len() < 10
# Combining conditions is possible with & | and or
ColumnA == 42 & SomeStringColumn.str.contains("substring")
Refer to documentation of query() for more examples.
Note: Eventually the syntax may change into a Pandas agnostic syntax to simplify implementations in non-Pandas backends.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tabloo-0.0.14.tar.gz
.
File metadata
- Download URL: tabloo-0.0.14.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a1a04561e48458a608a1bc6af413fcac30be3a82cd91707c59bf69ba95d980 |
|
MD5 | 4800d00ad6cfdbe75204c0a215d53b54 |
|
BLAKE2b-256 | deaa91da7d2a5ec81bc47cdaa2a54400a0c478e43ec4f51dfcbd1422b118ebe0 |
File details
Details for the file tabloo-0.0.14-py3-none-any.whl
.
File metadata
- Download URL: tabloo-0.0.14-py3-none-any.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55467593bb1d1af4ad7594c8981569a61fbb56847ca5144b860a62d54334334c |
|
MD5 | 1936df975b4156e615c838460b0c13d2 |
|
BLAKE2b-256 | 4fe96bc008c6cb4e130699bbf59c5ac88c518a7d000df244350f980f37e4e397 |