Skip to main content

Streamlit component that allows to create custom card content for streamlit dashboard

Project description

streamlit-custom-component

Streamlit component that allows to create custom card content for streamlit dashboard

Installation instructions

pip install streamlit-slb-card

Usage instructions

import streamlit as st

from streamlit_slb_card import streamlit_slb_card

streamlit_slb_card(
    title="Crew Health", 
    titleTextAlign="left",
    titleTextSize="25",
    headerContent=f"<div><div style='font-size:14px;font-weight: bold'>Average Pulse Rate</div><div><span style='font-size:40px'>10</span> beats/min</div></div>",
    showChart=True,    
    chartType="LineChart", # Supported charts -> PieChart, BarChart, LineChart
    chartTitle= "Violation Types",
    chartData=[]
)

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-slb-card-1.0.5.tar.gz (909.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_slb_card-1.0.5-py3-none-any.whl (916.6 kB view details)

Uploaded Python 3

File details

Details for the file streamlit-slb-card-1.0.5.tar.gz.

File metadata

  • Download URL: streamlit-slb-card-1.0.5.tar.gz
  • Upload date:
  • Size: 909.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for streamlit-slb-card-1.0.5.tar.gz
Algorithm Hash digest
SHA256 a0d6b634292a414491423f0aa20f7523f7a8775ea2fc994a835d07559c09d161
MD5 299ab59673613b435e7f1428a5698d40
BLAKE2b-256 09d369c0ecfffe1fc1ff93a0e7a3478c92540ab3d5c5a08e36e84a51d9159edb

See more details on using hashes here.

File details

Details for the file streamlit_slb_card-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_slb_card-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3bc1495859c9d68488084eccb776c5e2ee86c3b2f3d6322fb028ddaa6fbcd58c
MD5 7ac9061091873f964c46e24383a7ca01
BLAKE2b-256 e331c80cb2f5e09d3b0add6fcef6e6e896c3ee8117de2355260694ae44fbb07b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page