Component for displaying important figures on a Streamlit dashboard
Project description
A Streamlit component for displaying important figures.
Installation
pip install streamlit-metrics
Usage
import streamlit as st
from streamlit_metrics import metric, metric_row
st.write('## Here's a single figure')
metric("Metric 0", 0)
st.write('## ... and here's a row of them')
metric_row(
{
"Metric 1": 100,
"Metric 2": 200,
"Metric 3": 300,
"Metric 4": 400,
"Metric 5": 500,
}
)
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 streamlit_metrics-0.1.0.tar.gz
.
File metadata
- Download URL: streamlit_metrics-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94423750bd424951ec392b341598dd75f11cae2874df94585be646fdab7f4a04 |
|
MD5 | 02186c9e1a1cad5ad6f122f2f9253df7 |
|
BLAKE2b-256 | 6e7de70c2ec1d3f17c5f5d97bdcaedff4a3d65a23e84d6e137f460c3e047a491 |
File details
Details for the file streamlit_metrics-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: streamlit_metrics-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13089f89aec2e25278c1561c9684bf561139f0e1cf9a255e0a8e0a831bc8344e |
|
MD5 | 534ef5f3d0f11f0f1f8970480b3742aa |
|
BLAKE2b-256 | 1e212b873a57ca8f82d791225c9ed50a921524e48631bd93244ebf64842d57b9 |