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

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e64b620ad96a3f27e417f5806b8409f0a7f0a0f0972b53e06db37b198d29da02
MD5 1cccd63701677c0ca79217b6b6d9b909
BLAKE2b-256 0078c9b0e2d751d43a4bbae704f7142c03a958f165e88fe10303efe9c2899d9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5708b81e174985f042a0c8b873596733310234ed4cbfead636aa8282b536af0f
MD5 8806d72f2ec809fa9a05830f9fa6a0f8
BLAKE2b-256 58c2439ffc1124bbedca541991cc2d3ecf4ac5f8366aeca2460ba4695c87c01d

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