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.13.tar.gz
.
File metadata
- Download URL: tabloo-0.0.13.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e92ba1b831fbd1a26310cb2b3677ef531059690bf643a3100381ebff76ca1cfc |
|
MD5 | 8cf2f4d7b33a0b67c042a509b143cd98 |
|
BLAKE2b-256 | 6d22fe52ddfd7a92ef532101f0303deeba873d71441c91c68e6079bcc696b6b0 |
File details
Details for the file tabloo-0.0.13-py2-none-any.whl
.
File metadata
- Download URL: tabloo-0.0.13-py2-none-any.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.15rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a91608d40fc478c88c2ecdd36660b3bbc051f314fa164ffa2b3016bf0d2b8bc |
|
MD5 | 92fe5c9822b6bcb3b24a754d346a3b25 |
|
BLAKE2b-256 | 64ed69148659e2cb4634b4135af5d2b0a81d3e7890d41deb78d31ca363ed4483 |