Skip to main content

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.

Metadata

Release files for streamlit-keypress 0.1.2

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-keypress 0.1.2
File Size Uploaded Provenance Actions
streamlit_keypress-0.1.2.tar.gz 3.5 kB Without provenance Details for streamlit_keypress-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-keypress 0.1.2
File Interpreter ABI Platform Actions
streamlit_keypress-0.1.2-py3-none-any.whl Python 3 none any Details for streamlit_keypress-0.1.2-py3-none-any.whl

Total release size: 8.2 kB

Release files / streamlit_keypress-0.1.2.tar.gz

Download URL streamlit_keypress-0.1.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a1d2f40f8e99831d3049b0d43c0ef1edeed65fdfed72c00aef15ff2040edf9ae
BLAKE2b-256 checksum
How to use checksums
9eab97c558973f36979bcd8b5e9a37f8c9e6f1f1d208b168948e3bc565ed6fe1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / streamlit_keypress-0.1.2-py3-none-any.whl

Download URL streamlit_keypress-0.1.2-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc3abb77ebcaf0d6d528836fbda5225b7e115c447372a1603ca7eaae86c71db6
BLAKE2b-256 checksum
How to use checksums
fad59cf9c7a6529da46ffdfdf5602c12b35c4a79b1c410892db6024ea5fb7f51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Security for streamlit-keypress 0.1.2

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.

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