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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit-star-ratings-0.0.1.tar.gz.
File metadata
- Download URL: streamlit-star-ratings-0.0.1.tar.gz
- Upload date:
- Size: 404.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06b88503f34a0362061b0175db6203e23b4506ee04326481d9b658eb136e3b13
|
|
| MD5 |
05bc60237b1ab421d511dffb12059424
|
|
| BLAKE2b-256 |
2256772389ee1b3ba81f3f10b0d53d11b14d7c0032646ea99d9a7dd54c51f503
|
File details
Details for the file streamlit_star_ratings-0.0.1-py3-none-any.whl.
File metadata
- Download URL: streamlit_star_ratings-0.0.1-py3-none-any.whl
- Upload date:
- Size: 407.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
941c15bdc27d33761c5c3727e006a4d97c1a5eab109cd6cd64e35de3c703c0cb
|
|
| MD5 |
02b2340822ae4c1a456ad2f0d112ddf6
|
|
| BLAKE2b-256 |
4d7306253178fdb2979a97707889199c745517132e67322765630cfa4e13d2d4
|