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.5.tar.gz (3.3 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.5.tar.gz.

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7a77e09046c0138e7ec38ecb15df4899598920d8071eef1c2ba968f0a3cc0666
MD5 8f2c590377c38857f54fbc1c0972b6a7
BLAKE2b-256 44a6553e424cef19d7e0d786c322cb48627cf831a6da8b758cd9eb2eca3dc379

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e1944e3cb928d94d10610a424e7dbc082930531b76460d0809e7156fe793bfc6
MD5 bc7720854129a4413d76e7c41467f00d
BLAKE2b-256 b3ea4f8eca9206da807c2e2d67d4dad4baafed615e1c44117e066d1dfd0be592

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