{"id":14959595,"url":"https://github.com/blackary/streamlit-keyup","last_synced_at":"2025-05-15T08:11:35.446Z","repository":{"id":57899686,"uuid":"529015425","full_name":"blackary/streamlit-keyup","owner":"blackary","description":"Streamlit text input that returns value on keyup","archived":false,"fork":false,"pushed_at":"2025-05-12T17:11:43.000Z","size":125,"stargazers_count":193,"open_issues_count":11,"forks_count":27,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-12T18:26:27.683Z","etag":null,"topics":["python","streamlit","streamlit-component"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-08-25T20:55:36.000Z","updated_at":"2025-04-14T03:18:50.000Z","dependencies_parsed_at":"2023-12-18T19:01:19.601Z","dependency_job_id":"83f36eda-ac25-4325-bbcf-bdad9911cb6a","html_url":"https://github.com/blackary/streamlit-keyup","commit_stats":{"total_commits":61,"total_committers":7,"mean_commits":8.714285714285714,"dds":0.3770491803278688,"last_synced_commit":"3431e137fad354ff2a9866cb7a18c382975ee74b"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackary%2Fstreamlit-keyup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackary%2Fstreamlit-keyup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackary%2Fstreamlit-keyup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackary%2Fstreamlit-keyup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackary","download_url":"https://codeload.github.com/blackary/streamlit-keyup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301613,"owners_count":22047905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","streamlit","streamlit-component"],"created_at":"2024-09-24T13:20:11.277Z","updated_at":"2025-05-15T08:11:31.574Z","avatar_url":"https://github.com/blackary.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# streamlit-keyup\n\n[![PyPI version](https://img.shields.io/pypi/v/streamlit-keyup.svg?logo=pypi\u0026logoColor=FFE873)](https://pypi.org/project/streamlit-keyup/)\n[![PyPI downloads](https://img.shields.io/pypi/dm/streamlit-keyup.svg)](https://pypistats.org/packages/streamlit-keyup)\n[![GitHub](https://img.shields.io/github/license/blackary/streamlit-keyup.svg)](LICENSE)\n[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)\n\nIf you're collecting text input from your users in your streamlit app, `st.text_input` works well -- as long as you're happy with\nwaiting to get the response when they're finished typing.\n\nBut, what if you want to get the input out, and do something with it every time they type a new key (AKA \"on keyup\")?\n\n[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://key-up.streamlitapp.com)\n\n![filtering](https://user-images.githubusercontent.com/4040678/189153486-7ff7641c-1c76-4fa1-b0d5-f6634f8f0e41.gif)\n\n## Installation\n\n`pip install streamlit-keyup`\n\n## Usage\n\n```python\nimport streamlit as st\nfrom st_keyup import st_keyup\n\nvalue = st_keyup(\"Enter a value\", key=\"0\")\n\n# Notice that value updates after every key press\nst.write(value)\n\n# If you want to set a default value, you can pass one\nwith_default = st_keyup(\"Enter a value\", value=\"Example\", key=\"1\")\n\n# If you want to limit how often the value gets updated, pass `debounce` value, which\n# will force the value to only update after that many milliseconds have passed\nwith_debounce = st_keyup(\"Enter a value\", debounce=500, key=\"2\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackary%2Fstreamlit-keyup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackary%2Fstreamlit-keyup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackary%2Fstreamlit-keyup/lists"}