Streamlit component that allows you to do include star ratings
Project description
streamlit-custom-component
Streamlit component that allows you to add star ratings components in your streamlit application
Installation instructions
pip install streamlit-star-ratings
Usage instructions
import streamlit as st
from star_ratings import star_ratings
ratings = star_ratings("", numStars=5)
st.markdown("You've given %s ratings!" % int(ratings if ratings else 0))
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
streamlit-star-ratings-0.0.1.tar.gz
(404.2 kB
view hashes)
Built Distribution
Close
Hashes for streamlit-star-ratings-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06b88503f34a0362061b0175db6203e23b4506ee04326481d9b658eb136e3b13 |
|
MD5 | 05bc60237b1ab421d511dffb12059424 |
|
BLAKE2b-256 | 2256772389ee1b3ba81f3f10b0d53d11b14d7c0032646ea99d9a7dd54c51f503 |
Close
Hashes for streamlit_star_ratings-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 941c15bdc27d33761c5c3727e006a4d97c1a5eab109cd6cd64e35de3c703c0cb |
|
MD5 | 02b2340822ae4c1a456ad2f0d112ddf6 |
|
BLAKE2b-256 | 4d7306253178fdb2979a97707889199c745517132e67322765630cfa4e13d2d4 |