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.6.tar.gz (404.4 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.6.tar.gz.

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.6.tar.gz
Algorithm Hash digest
SHA256 f29b96f7586b0ea21aa9e94c3802e3fe2ab9621d7ec7ee1633c4c4e86db95a4c
MD5 d0d9815ba42d161d5af3a51a8985a40b
BLAKE2b-256 20a6e654f2f0abbf31ad32be1b67df8969892cb159eee781db9c71df444396e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_copy_to_clipboard_button-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f04a926b618b1be4afb272f135f56693c4dafaa3bf241dc264ba63aa04469f08
MD5 698b0d944c3d1127063dd1c73588767a
BLAKE2b-256 eaca83ce86d6f9caf121664c4651a563e57ed9ab85e412532ddc0d6585c03151

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