Skip to main content

Component for displaying important figures on a Streamlit dashboard

Project description

A Streamlit component for displaying important figures.

Streamlit Metrics Demo

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit_metrics-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

streamlit_metrics-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for streamlit_metrics-0.1.0.tar.gz
Algorithm Hash digest
SHA256 94423750bd424951ec392b341598dd75f11cae2874df94585be646fdab7f4a04
MD5 02186c9e1a1cad5ad6f122f2f9253df7
BLAKE2b-256 6e7de70c2ec1d3f17c5f5d97bdcaedff4a3d65a23e84d6e137f460c3e047a491

See more details on using hashes here.

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

Hashes for streamlit_metrics-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13089f89aec2e25278c1561c9684bf561139f0e1cf9a255e0a8e0a831bc8344e
MD5 534ef5f3d0f11f0f1f8970480b3742aa
BLAKE2b-256 1e212b873a57ca8f82d791225c9ed50a921524e48631bd93244ebf64842d57b9

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