Skip to main content

A Streamlit copy-to-clipboard button component that respects the streamlit page styles.

Project description

streamlit-copy-to-clipboard-button

A Streamlit copy-to-clipboard button component that respects the streamlit page styles.

Installation instructions

pip install streamlit-copy-to-clipboard-button

Usage instructions

import streamlit as st

from streamlit_copy_to_clipboard_button import copy_to_clipboard

copy_to_clipboard(
    "Text to copy",
    label="Copy to clipboard",  # Optional
    label_after_copy="Copied!"  # Optional
)

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

streamlit_copy_to_clipboard_button-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file streamlit_copy_to_clipboard_button-1.0.0.tar.gz.

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9b409bcff322074b5c17cfae2a66c48353ae78eccac2936bf53c5e739c98606f
MD5 0d4af9c2de94170fc5c796aa78862fcc
BLAKE2b-256 a01ec4325d4a563ab8453362ad9fa06c31a636d238b18dfb6f610556ea11a47f

See more details on using hashes here.

File details

Details for the file streamlit_copy_to_clipboard_button-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fe4395cc2f57b26337869d6b0ec7b629bd98a9b3667f22dff75e16e2f82a109
MD5 225eabd1627c51c2ca6e4fbd1239f7ef
BLAKE2b-256 cb84c39ee9ed6c7569da40c25f5c167695bb32851dc60faf170613e92e0aef32

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page