Skip to main content
# streamlit-text-rating
---

A Streamlit component for rating text


## Installation
---
### Using pip
[![PyPi Version](https://badge.fury.io/py/streamlit-text-rating.svg)](https://pypi.org/project/streamlit-text-rating/)

You can install using the pip package manager by running
```sh
pip install streamlit-text-rating
```

Alternatively, you could install the latest version directly from Github:
```sh
pip install https://github.com/TVS-Motor-Company/streamlit-text-rating/streamlit-text-rating/archive/master.zip
```

### From source

Download the source code by cloning the repository or by pressing 'Download ZIP' on this page.

Install by navigating to the proper directory and running:
```sh
python setup.py install
```


## Usage
---

```python
from streamlit_text_rating.st_text_rater import st_text_rater
import streamlit as st
st.title("Awesome App")
for text in ["Is this text helpful?", "Do you like this text?"]:
response = st_text_rater(text=text)
# st.write(f"response --> {response}")

```
### Output
![Streamlit Text Rating](https://raw.githubusercontent.com/TVS-Motor-Company/streamlit-text-rating/main/st_text_rater.gif "Streamlit Text Rating")


Metadata

Release files for streamlit-text-rating-component 0.1.9

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-text-rating-component 0.1.9
File Size Uploaded Provenance Actions
streamlit_text_rating_component-0.1.9.tar.gz 711.3 kB Without provenance Details for streamlit_text_rating_component-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-text-rating-component 0.1.9
File Interpreter ABI Platform Actions
streamlit_text_rating_component-0.1.9-py3-none-any.whl Python 3 none any Details for streamlit_text_rating_component-0.1.9-py3-none-any.whl

Total release size: 1.4 MB

Release files / streamlit_text_rating_component-0.1.9.tar.gz

Download URL streamlit_text_rating_component-0.1.9.tar.gz
Size 711.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b2bceac1ab7b7d97bc38eb1bd1ebceaa22f23339126f0503f7c91d39b073472e
BLAKE2b-256 checksum
How to use checksums
404a22e8a75451e4c1e1c12af11c3a20539ac8158fb764385308b777f512f4a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / streamlit_text_rating_component-0.1.9-py3-none-any.whl

Download URL streamlit_text_rating_component-0.1.9-py3-none-any.whl
Size 719.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1ea0b9aa6edc1cb6db07eb19707c297aade0e8ecba235986ba064f3d8ab96f3
BLAKE2b-256 checksum
How to use checksums
431dc1e244e9593dea2823e5871db4e7ae1729e0f9fca5b9703f189907307f99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for streamlit-text-rating-component 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files No provenance

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