Skip to main content

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,
    }
)

Release files for streamlit-metrics 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for streamlit-metrics 0.1.0
File Size Uploaded
streamlit_metrics-0.1.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-metrics 0.1.0
File Interpreter ABI Platform
streamlit_metrics-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size:6.0 kB

Release files / streamlit_metrics-0.1.0.tar.gz

Download URL streamlit_metrics-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
94423750bd424951ec392b341598dd75f11cae2874df94585be646fdab7f4a04
BLAKE2b-256 checksum
How to use checksums
6e7de70c2ec1d3f17c5f5d97bdcaedff4a3d65a23e84d6e137f460c3e047a491
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / streamlit_metrics-0.1.0-py3-none-any.whl

Download URL streamlit_metrics-0.1.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13089f89aec2e25278c1561c9684bf561139f0e1cf9a255e0a8e0a831bc8344e
BLAKE2b-256 checksum
How to use checksums
1e212b873a57ca8f82d791225c9ed50a921524e48631bd93244ebf64842d57b9
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page