Streamlit component that allows you to copy text to the clipboard.
Project description
st-copy-to-clipboard
Streamlit component that allows you to copy text to clipboard.
Installation instructions
pip install st-copy-to-clipboard
Usage instructions
Note: The clipboard API is only available in secure contexts (HTTPS)
import streamlit as st
from st_copy_to_clipboard import st_copy_to_clipboard
# Render copy to clipboard button
st_copy_to_clipboard("Copy this to clipboard")
Project details
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
File details
Details for the file st-copy-to-clipboard-0.1.6.tar.gz
.
File metadata
- Download URL: st-copy-to-clipboard-0.1.6.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76634e74384335f64d80469bfe2ca31d15806a140cb89490321764b235acaae6 |
|
MD5 | 36fb7bc5f9171a6e37462930da7dc2af |
|
BLAKE2b-256 | 3d6cbb8ba23b226259974c3a57d122ceccdfd298e6fc3dd9da193716577c8042 |
File details
Details for the file st_copy_to_clipboard-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: st_copy_to_clipboard-0.1.6-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a3eed0beb550548b04ac8a4e12c0fb09726654a15c302acb035454948b01cd1 |
|
MD5 | dd6f76e86c3347cbf7e07402864b5b37 |
|
BLAKE2b-256 | 409baca2dfca2bebe2850f83bb0536bfb8836ad39ec7f8086299ae8a60c41558 |