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.

Demo

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.3.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.3.tar.gz.

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.3.tar.gz
Algorithm Hash digest
SHA256 736786f7a9afd5b89c44aa0ccec4ed6155d57e1ab5ca9738d3232b6bfd0d5e7f
MD5 2f6690334d0b4468a0d0aacfe37972bd
BLAKE2b-256 b1d221d38e3b69f96cf65e5db38e02c9fdb2bc824067f46bab3c6b06757c5bb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cafe59151f927c32af037d2e71e16b9c91a7506891150695e77ec045948024df
MD5 9c5b25c9798b8c86374d8ec1e1f9a8af
BLAKE2b-256 4e28e37d7520b21c6753065290ef39fb51e32d309db39078ffee26ca3bf7cf6a

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