Streamlit component that allows you to capture pasted data in an input box
Project description
Streamlit - Paste Button
Streamlit component that allows you to paste images from your clipboard into your app with a button click.
Installation instructions
pip install streamlit-paste-button
Usage instructions
import streamlit as st
from streamlit_paste_button import paste_image_button as pbutton
paste_result = pbutton("📋 Paste an image")
if paste_result.image_data is not None:
st.write('Pasted image:')
st.image(paste_result.image_data)
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
Built Distribution
Close
Hashes for streamlit-paste-button-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1919d9e394044f05426ef1ff0989941d293fe5a675d26d59a1c740fddbb2f89 |
|
MD5 | f9b7fdb946a946713e332492698f42f7 |
|
BLAKE2b-256 | ca5d80bca6bea491188eb280fef355f6775a0416062c555fc943a58dbaf044cb |
Close
Hashes for streamlit_paste_button-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b7f93c1e491b8edcb3e93953d4508c30fae6c66e2518a36a26951b5447e9497 |
|
MD5 | 96d7f912182c483a253962ad6ad07d39 |
|
BLAKE2b-256 | 5a6680bdb977b5b6bb407f011db66c797f55f360fb766eb9367efec68c179534 |