Skip to main content

Text input that renders on keyup

Project description

streamlit-keyup

If you're collecting text input from your users in your streamlit app, st.text_input works well -- as long as you're happy with waiting to get the response when they're finished typing.

But, what if you want to get the input out, and do something with it every time they type a new key (AKA "on keyup")?

Installation

pip install streamlit-keyup

Usage

from st_keyup import st_keyup

value = st_keyup("Enter a value")

# Notice that value updates with every keyup
st.write(value)

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-keyup-0.1.3.tar.gz (343.4 kB view hashes)

Uploaded Source

Built Distribution

streamlit_keyup-0.1.3-py3-none-any.whl (348.2 kB view hashes)

Uploaded Python 3

Supported by

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