Skip to main content

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


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)

Uploaded Source

Built Distribution

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

streamlit_star_ratings-0.0.1-py3-none-any.whl (407.5 kB view details)

Uploaded Python 3

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

Hashes for streamlit-star-ratings-0.0.1.tar.gz
Algorithm Hash digest
SHA256 06b88503f34a0362061b0175db6203e23b4506ee04326481d9b658eb136e3b13
MD5 05bc60237b1ab421d511dffb12059424
BLAKE2b-256 2256772389ee1b3ba81f3f10b0d53d11b14d7c0032646ea99d9a7dd54c51f503

See more details on using hashes here.

File details

Details for the file streamlit_star_ratings-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_star_ratings-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 941c15bdc27d33761c5c3727e006a4d97c1a5eab109cd6cd64e35de3c703c0cb
MD5 02b2340822ae4c1a456ad2f0d112ddf6
BLAKE2b-256 4d7306253178fdb2979a97707889199c745517132e67322765630cfa4e13d2d4

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