🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

streamlit-keypress

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

streamlit-keypress

A Streamlit component to capture keyboard events

0.1.0
PyPI
Maintainers
1

Streamlit Keypress

A Streamlit component that captures keyboard events in your Streamlit app.

Installation

pip install streamlit-keypress

Usage

import streamlit as st
from streamlit_keypress import key_press_events

st.title("Keyboard Event Listener")

key = key_press_events()
if key:
    st.write(f"You pressed: {key}")

Demo Usage

Features

  • Captures keyboard events throughout your Streamlit app
  • Returns the key that was pressed
  • Simple and lightweight

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts