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
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-keyup-0.1.3.tar.gz
(343.4 kB
view hashes)
Built Distribution
Close
Hashes for streamlit_keyup-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 426876fd9b82a726b8344b57afd1e32399a971534bc61531a66a3e79b2ecaa43 |
|
MD5 | f9ec932d08dc58602ea60335adf8561f |
|
BLAKE2b-256 | 3e6bd44fc025b55862909368e178e5c8c136dec1587573fd6e711bc40a0c1ef9 |